mirror of https://github.com/MLXXXp/Arduboy2.git
individual pixel color is not a Core concept
- core only deals with pixel data in bytes (groups of 8 pixels) - invert has no meaning at all to Core
This commit is contained in:
parent
47114cf366
commit
592d13bd93
|
@ -19,6 +19,11 @@
|
||||||
|
|
||||||
#define PIXEL_SAFE_MODE
|
#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
|
// compare Vcc to 1.1 bandgap
|
||||||
#define ADC_VOLTAGE (_BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1))
|
#define ADC_VOLTAGE (_BV(REFS0) | _BV(MUX4) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1))
|
||||||
// compare temperature to 2.5 internal reference and _BV(MUX5)
|
// compare temperature to 2.5 internal reference and _BV(MUX5)
|
||||||
|
|
|
@ -133,10 +133,6 @@
|
||||||
#define WIDTH 128
|
#define WIDTH 128
|
||||||
#define HEIGHT 64
|
#define HEIGHT 64
|
||||||
|
|
||||||
#define INVERT 2 //< lit/unlit pixel
|
|
||||||
#define WHITE 1 //< lit pixel
|
|
||||||
#define BLACK 0 //< unlit pixel
|
|
||||||
|
|
||||||
class ArduboyCore
|
class ArduboyCore
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue