Write the OLED(using I2C)

Dependencies:   Adafruit_GFX mbed

Files at this revision

API Documentation at this revision

Comitter:
jcm931213
Date:
Wed Apr 19 04:07:40 2017 +0000
Parent:
12:f7375e185594
Commit message:
delete i2c.start, i2c.frequency

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
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);
     }
 }
-