Convert usermods from header to library
This commit is contained in:
@@ -210,3 +210,7 @@ const char Usermod_SN_Photoresistor::_referenceVoltage[] PROGMEM = "supplied-vol
|
||||
const char Usermod_SN_Photoresistor::_resistorValue[] PROGMEM = "resistor-value";
|
||||
const char Usermod_SN_Photoresistor::_adcPrecision[] PROGMEM = "adc-precision";
|
||||
const char Usermod_SN_Photoresistor::_offset[] PROGMEM = "offset";
|
||||
|
||||
|
||||
static Usermod_SN_Photoresistor sn_photoresistor;
|
||||
REGISTER_USERMOD(sn_photoresistor);
|
||||
9
usermods/SN_Photoresistor/library.json
Normal file
9
usermods/SN_Photoresistor/library.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name:": "SN_Photoresistor",
|
||||
"build": {
|
||||
"srcDir": ".",
|
||||
"includeDir": "../../wled00",
|
||||
"libLDFMode": "chain+",
|
||||
"libArchive": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user