Adaptation of the uOLED 96x96 graphics library to uOLED-128-G1. DataSheet: https://www.farnell.com/datasheets/356896.pdf https://4dsystems.com.au/
Dependents: uOLED-128-G1-CLASS-DEMO
Adaptation of the uOLED 96x96 graphics library to uOLED-128-G1. For edit color use : https://www.mathsisfun.com/hexadecimal-decimal-colors.html
Demo program vaible here : https://os.mbed.com/users/cdupaty/code/uOLED-128-G1-CLASS-DEMO/
DataSheet: https://www.farnell.com/datasheets/356896.pdf
Connexions
Video demo from Youtube
main.cpp for testing
https://os.mbed.com/media/uploads/cdupaty/main.cpp
Diff: uOLED.h
- Revision:
- 32:3fd1e54faf79
- Parent:
- 31:7ad5bf258a1e
--- a/uOLED.h Sun Jan 09 20:24:37 2011 +0000 +++ b/uOLED.h Sun Mar 14 10:57:53 2021 +0000 @@ -9,6 +9,8 @@ * This library (uOLED) by Aaron Goselin. * 2010 * + * adaptation for uOLED-128-G1 by Christian Dupaty 02-2021 + * * If you use and/or modify this library please keep credit lines intact. */ @@ -16,10 +18,11 @@ #define _MBED_UOLED_ #include "mbed.h" +#include "GSGCdef.h" -#define OLED_FONT5X7 0x01 -#define OLED_FONT8X8 0x02 -#define OLED_FONT8X12 0x03 +#define OLED_FONT5X7 0x0 +#define OLED_FONT8X8 0x1 +#define OLED_FONT8X12 0x2 #define OLED_DISPLAYCONTROL_DISPLAY 0x01 #define OLED_DISPLAYCONTROL_CONTRAST 0x02