Permalink
Browse files

Major changes

Major code reorganization for init for easier use of the library by
client
Added bargraph functions
Bugs Fix
Begin support of other OLED such SeeeStudio
  • Loading branch information...
hallard committed Jul 2, 2013
1 parent 6e986fa commit 857de7faad86b174f4af4dc341e0229eddd2fd67
Showing with 836 additions and 549 deletions.
  1. +218 −106 Adafruit_GFX.cpp
  2. +5 −0 Adafruit_GFX.h
  3. +322 −284 Adafruit_SSD1306.cpp
  4. +93 −50 Adafruit_SSD1306.h
  5. +29 −2 ArduiPi_SSD1306.h
  6. +19 −8 Makefile
  7. +3 −2 bcm2835.c
  8. +1 −1 examples/Makefile
  9. +65 −68 examples/ssd1306_demo.cpp
  10. +81 −28 examples/teleinfo-oled.cpp
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -51,6 +51,11 @@ class Adafruit_GFX {
uint16_t color);
virtual void fillRect(int16_t x, int16_t y, int16_t w, int16_t h,
uint16_t color);
+
+ void drawVerticalBargraph(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color, uint16_t percent) ;
+ void drawHorizontalBargraph(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color, uint16_t percent) ;
+
+
virtual void fillScreen(uint16_t color);
void drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color);
Oops, something went wrong.

0 comments on commit 857de7f

Please sign in to comment.