HT16K33 driver conditional

This commit is contained in:
Tester23
2023-06-23 11:46:03 +02:00
parent e2e3d37292
commit db82bcc2b7
2 changed files with 4 additions and 0 deletions

View File

@@ -246,11 +246,13 @@ static driver_t g_drivers[] = {
//drvdetail:"descr":"Driver for 7-segment LED display with DIO/CLK/STB interface. TM1638 is very similiar to GN6932 and TM1637. See [this topic](https://www.elektroda.com/rtvforum/viewtopic.php?p=20553628#20553628) for details.",
//drvdetail:"requires":""}
{ "TM1638", TM1638_Init, NULL, NULL, TMGN_RunQuickTick,NULL, NULL, false },
#if ENABLE_DRIVER_HT16K33
//drvdetail:{"name":"HT16K33",
//drvdetail:"title":"TODO",
//drvdetail:"descr":"Driver for 16-segment LED display with I2C.",
//drvdetail:"requires":""}
{ "HT16K33", HT16K33_Init, NULL, NULL, NULL,NULL, NULL, false },
#endif
//drvdetail:{"name":"SHT3X",
//drvdetail:"title":"TODO",
//drvdetail:"descr":"Humidity/temperature sensor. See [SHT Sensor tutorial topic here](https://www.elektroda.com/rtvforum/topic3958369.html), also see [this sensor teardown](https://www.elektroda.com/rtvforum/topic3945688.html)",

View File

@@ -38,6 +38,7 @@
#define ENABLE_DRIVER_BL0942 1
#define ENABLE_DRIVER_BL0942SPI 1
#define ENABLE_DRIVER_CSE7766 1
#define ENABLE_DRIVER_HT16K33 1
#define ENABLE_DRIVER_TUYAMCU 1
#define ENABLE_TEST_COMMANDS 1
#define ENABLE_CALENDAR_EVENTS 1
@@ -65,6 +66,7 @@
#define ENABLE_DRIVER_BL0942SPI 1
#define ENABLE_DRIVER_CSE7766 1
#define ENABLE_DRIVER_TUYAMCU 1
//#define ENABLE_DRIVER_HT16K33 1
#define ENABLE_I2C 1
#define ENABLE_TEST_COMMANDS 1
#define ENABLE_CALENDAR_EVENTS 1