diff --git a/src/Arduboy.h b/src/Arduboy.h index 1165683..c91c182 100644 --- a/src/Arduboy.h +++ b/src/Arduboy.h @@ -19,6 +19,11 @@ #define PIXEL_SAFE_MODE +// pixel colors +#define INVERT 2 //< lit/unlit pixel +#define WHITE 1 //< lit pixel +#define BLACK 0 //< unlit pixel + // compare Vcc to 1.1 bandgap #define ADC_VOLTAGE (_BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1)) // compare temperature to 2.5 internal reference and _BV(MUX5) diff --git a/src/core/core.h b/src/core/core.h index 4ca77b4..a0b79ef 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -133,10 +133,6 @@ #define WIDTH 128 #define HEIGHT 64 -#define INVERT 2 //< lit/unlit pixel -#define WHITE 1 //< lit pixel -#define BLACK 0 //< unlit pixel - class ArduboyCore { public: