Convert usermods from header to library

This commit is contained in:
Will Tatam
2025-01-11 21:14:20 +00:00
parent 71b0e8e937
commit 90b18158fc
75 changed files with 490 additions and 14 deletions

View File

@@ -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);

View File

@@ -0,0 +1,9 @@
{
"name:": "SN_Photoresistor",
"build": {
"srcDir": ".",
"includeDir": "../../wled00",
"libLDFMode": "chain+",
"libArchive": false
}
}