Search found 11 matches

by HEckardt
Sat Jan 27, 2024 4:19 pm
Forum: Hardware
Topic: GPIO isr is not working
Replies: 11
Views: 4240

Re: GPIO isr is not working

Hello ESP_Sprite, again for the idf-monitor abort: if I press "Ctrl+plus_sign" the console is printing "^]". This is the correct char-code for the abort. When I press "Ctrl+AltGr+9" the console is just printing "]", it´s equal to "AltGr+9". So, it is not a fault by the idf-monitor. The Windows-OS ma...
by HEckardt
Sat Jan 27, 2024 11:20 am
Forum: Hardware
Topic: GPIO isr is not working
Replies: 11
Views: 4240

Re: GPIO isr is not working

Hello ESP_Sprite, seems, I had too much stuff in the "gpio_isr_handler". When I removed it, then it works. I assume, only the queue should be served in the isr-handler. The rest must be done in the "xTaskCreate" created task. For the idf-monitor: please see my post below to Joe. Seems, the idf-monit...
by HEckardt
Sat Jan 27, 2024 11:13 am
Forum: Hardware
Topic: GPIO isr is not working
Replies: 11
Views: 4240

Re: GPIO isr is not working

Hi Joe,

exactly this combination with a German keyboard is NOT working. I tryed some other combinations, as suggested by ESP_Sprite, and found out, the "Cntr+plus_sign" is working. Ther is on an English keyboard the bracket "]" lokated.
by HEckardt
Fri Jan 26, 2024 3:54 pm
Forum: Hardware
Topic: GPIO isr is not working
Replies: 11
Views: 4240

Re: GPIO isr is not working

Hi ESP_Sprite, do you found some mistakes in the code? I`m using the idf-monitor not in general, because I can`t abort it with "Ctrl+]" (German keyboard, I guss). But here the outcome from the idf-monitor during the start-up: ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_...
by HEckardt
Fri Jan 26, 2024 9:15 am
Forum: Hardware
Topic: GPIO isr is not working
Replies: 11
Views: 4240

GPIO isr is not working

Dear ESP-Forum Members, I posted this problem already in the "IoT" chapter of this forum. But I think - I hope, here in the "Hardware Part" I get more resonance. For my project I need a GPIO interrupt (pressed button). I selected the GPIO25 pin connect it through the switch to the ground. The negati...
by HEckardt
Thu Jan 25, 2024 5:21 pm
Forum: ESP IoT Solution
Topic: GPIO interrupt not working
Replies: 6
Views: 10671

Re: GPIO interrupt not working

Hi mikemoy,

it is the same. I inserted the LOG output, when I recognized, that the isr failed.

greetings
Henry
by HEckardt
Thu Jan 25, 2024 11:45 am
Forum: ESP IoT Solution
Topic: GPIO interrupt not working
Replies: 6
Views: 10671

GPIO interrupt not working

Dear ESP-Forum Members, for my project I need a GPIO interrupt (pressed botton). I selected the GPIO25 pin connect it though the switch to the ground. The negative edge should start the isr. Message from the GPIO configurator: I (2283) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1...
by HEckardt
Mon Jan 22, 2024 10:27 am
Forum: ESP IoT Solution
Topic: reason for "error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token"
Replies: 2
Views: 7901

Re: reason for "error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token"

Hi ESP_Sprite,

yes, you are right, I did it globally. Thank you for the hint. I`ll assign the values inside a function.

Greetings
Henry
by HEckardt
Sun Jan 21, 2024 4:30 pm
Forum: ESP IoT Solution
Topic: reason for "error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token"
Replies: 2
Views: 7901

reason for "error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token"

Dear Forum Members, I defined/declared a struct "udp_buf_t" as "rx_tx_buf": typedef enum { LAN_BEGIN, START_WPS, LAN_FOUND, LAN_NOT_FOUND, BROADCAST_SEND, HE_MON_FOUND, HE_MON_NOT_FOUND, MSG_TO_SEND, WAIT_FOR_ANS, GOT_HE_MON_ANS, MAIN_IDLE }ctrl_lan_state_t; typedef struct { char rx_buffer[64]; char...
by HEckardt
Thu Nov 09, 2023 12:44 pm
Forum: General Discussion
Topic: SPI Pinout for ESP32-WROOM-32D
Replies: 2
Views: 2893

Re: SPI Pinout for ESP32-WROOM-32D

Hello MicroController, thanks for the answer. In the meantime I intensed my study and now it is for me much clearer, how it works. I found out, how to edit the "example" scripts for an adaptation to my specific needs. Thanks also for the link to the API´s and the short introduction to the ESP32 type...