Driver for the Seeedstudio RGB OLED module for the xadow M0
Revision 1:b55525d2db34, committed 2015-11-10
- Comitter:
- messi1
- Date:
- Tue Nov 10 23:16:37 2015 +0000
- Parent:
- 0:6e810b5b40a3
- Child:
- 2:e033aab5daad
- Commit message:
- Removed unused includes
Changed in this revision
include/SGL.h | Show annotated file Show diff for this revision Revisions of this file |
include/SSD1331.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/include/SGL.h Tue Nov 10 22:51:46 2015 +0000 +++ b/include/SGL.h Tue Nov 10 23:16:37 2015 +0000 @@ -33,10 +33,6 @@ #include <stdint.h> -//#include "arduino.h" -//#include "font.h" -//#include <avr/pgmspace.h> - #define FONT_SPACE 6 #define FONT_X 8 #define FONT_Y 8
--- 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