I have tested on 2 different boards, and I have selected different boards in Arduino IDE same error in all cases.
What is the correct board to select i Arduino IDE ?
Search found 9 matches
- Mon Sep 30, 2024 1:03 pm
- Forum: ESP32 Arduino
- Topic: Problem with GPIO pin 32
- Replies: 2
- Views: 2512
- Sun Sep 29, 2024 12:27 pm
- Forum: ESP32 Arduino
- Topic: Problem with GPIO pin 32
- Replies: 2
- Views: 2512
Problem with GPIO pin 32
I have this ESP32 dev. board but pin 32 don't work.
The compiler accept pinMode(32,OUTPUT) and digitalWrite(32,HIGH) but nothing comes out on the pin.
Can anyone help, I need to use all the output pins on the board.
The compiler accept pinMode(32,OUTPUT) and digitalWrite(32,HIGH) but nothing comes out on the pin.
Can anyone help, I need to use all the output pins on the board.
- Thu Jul 04, 2024 10:28 am
- Forum: ESP32 Arduino
- Topic: Disable watchdog
- Replies: 3
- Views: 3634
Re: Disable watchdog
Is there not anyone that can help me rewrite the 6 lines of code that worked 100% to kill the watchdog before update of libraries, now after I have updated the libraries in Arduino IDE I got lots of compiler errors.
- Sun Jun 30, 2024 2:20 pm
- Forum: ESP32 Arduino
- Topic: Disable watchdog
- Replies: 3
- Views: 3634
Re: Disable watchdog
I am not using ESP-IDF to program but arduino IDE, I only need how to du the code that is working before loading new libraries.
what du I have to change to get it to work again ?
Erik
what du I have to change to get it to work again ?
Erik
- Sat Jun 29, 2024 1:19 pm
- Forum: ESP32 Arduino
- Topic: Disable watchdog
- Replies: 3
- Views: 3634
Disable watchdog
I have used the folloving code do disable the watchdog but it cant compile after som new libraries. how can I get this to work again.
TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;
TIMERG1.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG1.wdt_feed=1;
TIMERG1.wdt ...
TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;
TIMERG1.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG1.wdt_feed=1;
TIMERG1.wdt ...
- Fri Feb 23, 2024 1:40 pm
- Forum: ESP-IDF
- Topic: reset the on chip RTC?
- Replies: 1
- Views: 806
reset the on chip RTC?
Hello
Is it in anyway possible to reset the internal RTC or write to RTC's registre?
I need to do this to make shore I get the newest when calling localtime_r after calling sntp_init.
Is it in anyway possible to reset the internal RTC or write to RTC's registre?
I need to do this to make shore I get the newest when calling localtime_r after calling sntp_init.
- Sun Feb 11, 2024 12:57 pm
- Forum: ESP-IDF
- Topic: Can't update time from SNTP
- Replies: 0
- Views: 759
Can't update time from SNTP
I are making a clock to this I need to update the time every 24 hours, but I only got the correct time with the first call.
Here is the code for the to calls, the wifi is connected at the first call.
First time I call the GetLocalTime, and it gives me the correct time. the following call goes to ...
Here is the code for the to calls, the wifi is connected at the first call.
First time I call the GetLocalTime, and it gives me the correct time. the following call goes to ...
- Sat Jan 27, 2024 7:18 pm
- Forum: ESP-IDF
- Topic: Problem with watchdog !
- Replies: 4
- Views: 2346
Re: Problem with watchdog !
dont work with vtaskdelay it has to be more than 10 ms to work at this my scan will go most to slow.
I just needded a command/function to feed the dog or maybe to kill the dog.
I try to run it with timer interrupt task 1000 times a secund but it gives the same problev or it is worse
I just needded a command/function to feed the dog or maybe to kill the dog.
I try to run it with timer interrupt task 1000 times a secund but it gives the same problev or it is worse
- Fri Jan 26, 2024 7:17 pm
- Forum: ESP-IDF
- Topic: Problem with watchdog !
- Replies: 4
- Views: 2346
Problem with watchdog !
Every ca. 6 secund I get this out of ESP32.
E (85334) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (85334) task_wdt: - IDLE (CPU 0)
E (85334) task_wdt: Tasks currently running:
E (85334) task_wdt: CPU 0: Task1
E (85334) task_wdt: CPU 1: IDLE ...
E (85334) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (85334) task_wdt: - IDLE (CPU 0)
E (85334) task_wdt: Tasks currently running:
E (85334) task_wdt: CPU 0: Task1
E (85334) task_wdt: CPU 1: IDLE ...