Create wled00.txt
Definitions needed for reading the Dallas temp sensor used on the QuinLED boards.
This commit is contained in:
parent
6ad57a15cf
commit
4d5bb274d1
8
usermods/QuinLED_Dig_Uno_Temp_MQTT/wled00.txt
Normal file
8
usermods/QuinLED_Dig_Uno_Temp_MQTT/wled00.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
//Intiating code for QuinLED Dig-Uno temp sensor
|
||||||
|
//Uncomment Celsius if that is your prefered temperature scale
|
||||||
|
#include <DallasTemperature.h>
|
||||||
|
OneWire oneWire(14);
|
||||||
|
DallasTemperature sensors(&oneWire);
|
||||||
|
long temptimer = millis();
|
||||||
|
long lastMeasure = 0;
|
||||||
|
//#define Celsius
|
Loading…
Reference in New Issue
Block a user