![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
OLED Library
Dependencies: mbed Adafruit_GFX
Revision 14:2fc2f14f5f86, committed 2019-09-25
- Comitter:
- deepanaishtaweera174
- Date:
- Wed Sep 25 15:57:32 2019 +0000
- Parent:
- 13:52e9c29e2f88
- Commit message:
- working code
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Apr 19 04:07:40 2017 +0000 +++ b/main.cpp Wed Sep 25 15:57:32 2019 +0000 @@ -1,9 +1,9 @@ #include "mbed.h" #include "Adafruit_SSD1306.h" -DigitalOut myled_R(LED_RED); +DigitalOut myled_R(LED1); -I2C i2c(PA_10,PA_9); +I2C i2c(I2C_SDA,I2C_SCL); Adafruit_SSD1306_I2c myOled(i2c,NC,0x78,64,128); @@ -22,6 +22,6 @@ myOled.printf("%u\r",x); myOled.display(); x = x + 1; - wait(1.0); + wait(0.1); } }
--- a/mbed.bld Wed Apr 19 04:07:40 2017 +0000 +++ b/mbed.bld Wed Sep 25 15:57:32 2019 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/6f327212ef96 \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file