@Cellie
Thank you for your respond. Following your suggestions I was able to resolve the issue using task on a different core.
//**************************************************************
xTaskCreatePinnedToCore(
readOutTemp, /* Function to implement the task */
"readOutTemp ", /* Name of ...
Search found 3 matches
- Sat Apr 21, 2018 4:32 pm
- Forum: ESP32 Arduino
- Topic: Conflict WiFi with dallas temperature library for ds18b20 ???
- Replies: 3
- Views: 10019
- Sun Apr 15, 2018 5:50 pm
- Forum: ESP32 Arduino
- Topic: Conflict WiFi with dallas temperature library for ds18b20 ???
- Replies: 3
- Views: 10019
Conflict WiFi with dallas temperature library for ds18b20 ???
Hi guys,
I am facing a very strange problem with my esp32 module and ds18b20. Please have a look at the following code:
#if DEBUG
//TOOD: remove is just for test
sensors.requestTemperatures();
Serial.print("Temperature: ");
Serial.println(sensors.getTempCByIndex(0));
delay(1000);
#endif ...
I am facing a very strange problem with my esp32 module and ds18b20. Please have a look at the following code:
#if DEBUG
//TOOD: remove is just for test
sensors.requestTemperatures();
Serial.print("Temperature: ");
Serial.println(sensors.getTempCByIndex(0));
delay(1000);
#endif ...
- Mon Sep 11, 2017 8:04 pm
- Forum: ESP32 Arduino
- Topic: esp32 arduino pwm (duty and frequency)
- Replies: 2
- Views: 12927
esp32 arduino pwm (duty and frequency)
Dear all,
I would like to be able to control led output through PWM frequency like this function:
function led(r,g,b,frequency)
--RED(GPIO15),GREEN(GPIO12),BLUE(GPIO14)
pwm.setduty(6,g)
pwm.setduty(5,b)
pwm.setduty(8,r)
pwm.setclock(6, frequency)
pwm.setclock(5, frequency)
pwm.setclock(8 ...
I would like to be able to control led output through PWM frequency like this function:
function led(r,g,b,frequency)
--RED(GPIO15),GREEN(GPIO12),BLUE(GPIO14)
pwm.setduty(6,g)
pwm.setduty(5,b)
pwm.setduty(8,r)
pwm.setclock(6, frequency)
pwm.setclock(5, frequency)
pwm.setclock(8 ...