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[];