Library for drawing on the Hexiwear's OLED - more features being actively worked on
Dependents: Hexidraw_Demo Hexiwear-FinalProject_v2
Discussion: https://developer.mbed.org/forum/team-4615-Hexiwear-community/topic/26595/
Hexidraw is a library for drawing on the Hexiwear's OLED. Be aware that it is not very optimized, so drawing may be slow, especially when drawing on large areas of the screen.
Please see the wiki for API documentation.
Features:
- Screen fill with a color
- Drawing filled rectangles
- Drawing circles with a set radius and line width
- Setting individual pixels
- Turning on and off the OLED's sleep mode
- Drawing images
Example project: https://developer.mbed.org/users/keithm01/code/Hexidraw_Demo/
Diff: oled_info.h
- Revision:
- 1:82ccc138bbe6
- Parent:
- 0:2d3fcb6dabd4
- Child:
- 2:ef14c6dd6b93
--- a/oled_info.h Fri Aug 19 01:17:28 2016 +0000 +++ b/oled_info.h Fri Aug 19 16:28:09 2016 +0000 @@ -1,6 +1,10 @@ + + #define OLED_WIDTH 96 #define OLED_HEIGHT 96 +#define OLED_COL_OFFSET 16 + /* REMAP settings */ #define REMAP_HORIZONTAL_INCREMENT ( 0 )