Search found 3 matches
- Thu May 16, 2019 5:12 am
- Forum: ESP32 Arduino
- Topic: How to properly feed WDT
- Replies: 3
- Views: 19159
How to properly feed WDT
#include "esp_task_wdt.h" void setup() { Serial.begin( 1000000 ); BaseType_t result = xTaskCreatePinnedToCore( handleOtherThings, "handleOtherThings", 20000, NULL, 1, NULL, 0 ); } void handleOtherThings( void* param ) { while( true ){ esp_task_wdt_reset(); } } void loop() { // put your main code he...
- Tue Apr 30, 2019 2:56 am
- Forum: ESP32 Arduino
- Topic: Webserver access alters MPU9250's signal.
- Replies: 2
- Views: 4034
Re: Webserver access alters MPU9250's signal.
Self solved. It was because webserver handler blocks dequeuing MPU 9250's FIFO more than 10ms and the FIFO is filled around 10ms. Solved by using multi-core approach. Dual core is a lot better than a single core... xTaskCreatePinnedToCore( handleWebThings, /* Function to implement the task */ "handl...
- Fri Apr 26, 2019 6:56 am
- Forum: ESP32 Arduino
- Topic: Webserver access alters MPU9250's signal.
- Replies: 2
- Views: 4034
Webserver access alters MPU9250's signal.
I'm writing a program which reads MPU9250's accelerometer&gyro data using MPU9250's internal FIFO and serves web interface. Without web access, everything is fine. However, on the exact timing of web request, bytes read on that timing is changed. My current code just simply shows template webpage an...