From decebd18027dd07e79c114becd566113455b144f Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Sun, 22 Oct 2023 17:24:25 -0400 Subject: [PATCH] getting up to date, in case i abandon --- DCCTimerGiga.cpp | 2 +- defines.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DCCTimerGiga.cpp b/DCCTimerGiga.cpp index 5c4034d..cad18f0 100644 --- a/DCCTimerGiga.cpp +++ b/DCCTimerGiga.cpp @@ -314,7 +314,7 @@ void DCCTimer::reset() { int16_t ADCee::ADCmax() { - return 1024; + return 4095; } int ADCee::init(uint8_t pin) { diff --git a/defines.h b/defines.h index 4d486ac..c542182 100644 --- a/defines.h +++ b/defines.h @@ -157,7 +157,7 @@ //#endif #define SDA I2C_SDA #define SCL I2C_SCL - #define DCC_EX_TIMER + // these don't work... //extern const uint16_t PROGMEM port_to_input_PGM[]; //extern const uint16_t PROGMEM port_to_output_PGM[];