From 62b1211ac81ef6c9538e6aa75820b58e8519ada7 Mon Sep 17 00:00:00 2001 From: Noah Axon Date: Tue, 19 Dec 2023 22:55:54 -0600 Subject: [PATCH] Fix IR LED Pin numbers --- m5stick-nemo.ino | 7 ++++++- tvbg.h | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/m5stick-nemo.ino b/m5stick-nemo.ino index db0e46f..4aa53d5 100644 --- a/m5stick-nemo.ino +++ b/m5stick-nemo.ino @@ -7,7 +7,7 @@ //#define CARDPUTER // -=-=- 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 FGCOLOR GREEN @@ -28,6 +28,7 @@ String buildver="2.0.2"; #define USE_EEPROM // -=-=- ALIASES -=-=- #define DISP M5.Lcd + #define IRLED 9 #endif #if defined(STICK_C) @@ -46,6 +47,8 @@ String buildver="2.0.2"; #define USE_EEPROM // -=-=- ALIASES -=-=- #define DISP M5.Lcd + #define IRLED 9 + #endif #if defined(CARDPUTER) @@ -59,8 +62,10 @@ String buildver="2.0.2"; // -=-=- FEATURES -=-=- #define KB #define HID + #define ACTIVE_LOW_IR // -=-=- ALIASES -=-=- #define DISP M5Cardputer.Display + #define IRLED 44 #endif // -=-=-=-=-=- LIST OF CURRENTLY DEFINED FEATURES -=-=-=-=-=- diff --git a/tvbg.h b/tvbg.h index 5d06e74..65c1de0 100644 --- a/tvbg.h +++ b/tvbg.h @@ -13,7 +13,6 @@ By Anton Grimpelhuber (anton.grimpelhuber@gmail.com) // What pins do what #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 #define NUM_ELEM(x) (sizeof (x) / sizeof (*(x)));