Search found 4 matches
- Thu Aug 18, 2022 6:25 pm
- Forum: ESP32 Arduino
- Topic: Issue running in two different tasks Wifi and I2C device
- Replies: 5
- Views: 5541
- Thu Jul 15, 2021 10:56 am
- Forum: ESP32 Arduino
- Topic: Issue running in two different tasks Wifi and I2C device
- Replies: 5
- Views: 5541
- Fri Jun 18, 2021 3:14 pm
- Forum: ESP32 Arduino
- Topic: Issue running in two different tasks Wifi and I2C device
- Replies: 5
- Views: 5541
Re: Issue running in two different tasks Wifi and I2C device
Sure:
#include <Arduino.h>
#include <WiFi.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>
// DHT sensor configuration
#define DHTPIN 16 // Digital pin connected to the DHT sensor
#define DHTTYPE DHT22 // DHT 22 (AM2302)
#define PRJ_DEFAULT_STACK_SIZE 8192
// wifi ...
#include <Arduino.h>
#include <WiFi.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>
// DHT sensor configuration
#define DHTPIN 16 // Digital pin connected to the DHT sensor
#define DHTTYPE DHT22 // DHT 22 (AM2302)
#define PRJ_DEFAULT_STACK_SIZE 8192
// wifi ...
- Wed Jun 16, 2021 10:12 pm
- Forum: ESP32 Arduino
- Topic: Issue running in two different tasks Wifi and I2C device
- Replies: 5
- Views: 5541
Issue running in two different tasks Wifi and I2C device
Hi,
I don't know if it is a bug, however I have this situation on ESP32-WROOM-32D.
In the setup function I start 2 separated tasks. One task manages the connection to WiFi network with the "Wifi.h" library, after the Wifi connection completed the task stay IDLE with a infinite loop of delays.
The ...
I don't know if it is a bug, however I have this situation on ESP32-WROOM-32D.
In the setup function I start 2 separated tasks. One task manages the connection to WiFi network with the "Wifi.h" library, after the Wifi connection completed the task stay IDLE with a infinite loop of delays.
The ...