I have edited the the ssd1306 to add functionality to print through simple function
Dependencies: mbed Adafruit_GFX
Diff: main.cpp
- Revision:
- 13:52e9c29e2f88
- Parent:
- 12:f7375e185594
- Child:
- 14:2fc2f14f5f86
diff -r f7375e185594 -r 52e9c29e2f88 main.cpp --- a/main.cpp Mon Apr 17 01:42:24 2017 +0000 +++ b/main.cpp Wed Apr 19 04:07:40 2017 +0000 @@ -10,11 +10,8 @@ int main() { - //i2c.frequency(100000); - i2c.start(); - uint16_t x=0; - + myOled.begin(); myOled.printf("%ux%u \nHellow World\r\n", myOled.width(), myOled.height()); myOled.display(); @@ -28,4 +25,3 @@ wait(1.0); } } -