add My9291 light bulb driver (#2599)

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
This commit is contained in:
Spectre
2022-03-31 20:49:00 +02:00
committed by GitHub
parent 73a9e1c316
commit 46eae410c3
5 changed files with 385 additions and 1 deletions

View File

@@ -74,6 +74,7 @@
#define USERMOD_ID_CRONIXIE 25 //Usermod "usermod_cronixie.h"
#define USERMOD_ID_WIZLIGHTS 26 //Usermod "wizlights.h"
#define USERMOD_ID_WORDCLOCK 27 //Usermod "usermod_v2_word_clock.h"
#define USERMOD_ID_MY9291 28 //Usermod "usermod_MY9291.h"
//Access point behavior
#define AP_BEHAVIOR_BOOT_NO_CONN 0 //Open AP when no connection after boot

View File

@@ -120,6 +120,10 @@
#include "../usermods/usermod_v2_word_clock/usermod_v2_word_clock.h"
#endif
#ifdef USERMOD_MY9291
#include "../usermods/MY9291/usermode_MY9291.h"
#endif
void registerUsermods()
{
/*
@@ -223,8 +227,12 @@ void registerUsermods()
#ifdef USERMOD_WIZLIGHTS
usermods.add(new WizLightsUsermod());
#endif
#ifdef USERMOD_WORDCLOCK
usermods.add(new WordClockUsermod());
#endif
#ifdef USERMOD_MY9291
usermods.add(new MY9291Usermod());
#endif
}