Fix IR LED Pin numbers

This commit is contained in:
Noah Axon 2023-12-19 22:55:54 -06:00
parent 99168950ff
commit 62b1211ac8
2 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,7 @@
//#define CARDPUTER //#define CARDPUTER
// -=-=- Uncommenting more than one at a time will result in errors -=-=- // -=-=- Uncommenting more than one at a time will result in errors -=-=-
String buildver="2.0.2"; String buildver="2.0.3";
#define BGCOLOR BLACK #define BGCOLOR BLACK
#define FGCOLOR GREEN #define FGCOLOR GREEN
@ -28,6 +28,7 @@ String buildver="2.0.2";
#define USE_EEPROM #define USE_EEPROM
// -=-=- ALIASES -=-=- // -=-=- ALIASES -=-=-
#define DISP M5.Lcd #define DISP M5.Lcd
#define IRLED 9
#endif #endif
#if defined(STICK_C) #if defined(STICK_C)
@ -46,6 +47,8 @@ String buildver="2.0.2";
#define USE_EEPROM #define USE_EEPROM
// -=-=- ALIASES -=-=- // -=-=- ALIASES -=-=-
#define DISP M5.Lcd #define DISP M5.Lcd
#define IRLED 9
#endif #endif
#if defined(CARDPUTER) #if defined(CARDPUTER)
@ -59,8 +62,10 @@ String buildver="2.0.2";
// -=-=- FEATURES -=-=- // -=-=- FEATURES -=-=-
#define KB #define KB
#define HID #define HID
#define ACTIVE_LOW_IR
// -=-=- ALIASES -=-=- // -=-=- ALIASES -=-=-
#define DISP M5Cardputer.Display #define DISP M5Cardputer.Display
#define IRLED 44
#endif #endif
// -=-=-=-=-=- LIST OF CURRENTLY DEFINED FEATURES -=-=-=-=-=- // -=-=-=-=-=- LIST OF CURRENTLY DEFINED FEATURES -=-=-=-=-=-

1
tvbg.h
View File

@ -13,7 +13,6 @@ By Anton Grimpelhuber (anton.grimpelhuber@gmail.com)
// What pins do what // What pins do what
#define LED 10 //LED indicator pin (built-in LED) #define LED 10 //LED indicator pin (built-in LED)
#define IRLED 9 //the IR sender LED / D5 on wemos D1 mini
// Lets us calculate the size of the NA/EU databases // Lets us calculate the size of the NA/EU databases
#define NUM_ELEM(x) (sizeof (x) / sizeof (*(x))); #define NUM_ELEM(x) (sizeof (x) / sizeof (*(x)));