reorder defines and use base 10 for clarity

This commit is contained in:
Josh Goebel 2016-02-21 02:00:25 -05:00 committed by Scott Allen
parent e346d587ca
commit c081d281fe
1 changed files with 4 additions and 4 deletions

View File

@ -124,15 +124,15 @@
#define OLED_HORIZ_FLIPPED 0xA0 // reversed segment re-map #define OLED_HORIZ_FLIPPED 0xA0 // reversed segment re-map
#define OLED_HORIZ_NORMAL 0xA1 // normal segment re-map #define OLED_HORIZ_NORMAL 0xA1 // normal segment re-map
// ----- // -----
#define COLUMN_ADDRESS_END (WIDTH - 1) & 0x7F // 128 pixels wide
#define PAGE_ADDRESS_END ((HEIGHT/8)-1) & 0x07 // 8 pages high
#define WIDTH 128 #define WIDTH 128
#define HEIGHT 64 #define HEIGHT 64
#define COLUMN_ADDRESS_END (WIDTH - 1) & 127 // 128 pixels wide
#define PAGE_ADDRESS_END ((HEIGHT/8)-1) & 7 // 8 pages high
class ArduboyCore class ArduboyCore
{ {
public: public: