Write the OLED(using I2C)
Dependencies: Adafruit_GFX mbed
Fork of I2C_SSD1306_Helloworld_WIZwiki-W7500 by
Diff: main.cpp
- Revision:
- 13:52e9c29e2f88
- Parent:
- 12:f7375e185594
- Child:
- 14:8064e493e35a
--- 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); } } -