Test for STM32F4
Fork of RGB_OLED_SSD1331 by
Diff: include/SSD1331.h
- Revision:
- 1:b55525d2db34
- Parent:
- 0:6e810b5b40a3
- Child:
- 2:e033aab5daad
diff -r 6e810b5b40a3 -r b55525d2db34 include/SSD1331.h --- a/include/SSD1331.h Tue Nov 10 22:51:46 2015 +0000 +++ b/include/SSD1331.h Tue Nov 10 23:16:37 2015 +0000 @@ -69,6 +69,7 @@ class SPI; } +#define __USE_GAC__ // use SSD1331/1332 Graphi Accelaration Command #define RGB_OLED_WIDTH 96 #define RGB_OLED_HEIGHT 64 @@ -79,8 +80,8 @@ #define CMD_DIM_WINDOW 0x24 #define CMD_CLEAR_WINDOW 0x25 #define CMD_FILL_WINDOW 0x26 - #define DISABLE_FILL 0x00 - #define ENABLE_FILL 0x01 +#define DISABLE_FILL 0x00 +#define ENABLE_FILL 0x01 #define CMD_CONTINUOUS_SCROLLING_SETUP 0x27 #define CMD_DEACTIVE_SCROLLING 0x2E #define CMD_ACTIVE_SCROLLING 0x2F