Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SSD1308_128x64_I2C
main.cpp
00001 #include "mbed.h" 00002 #include "SSD1308.h" 00003 #include "bitmap.h" 00004 #include "bitmap2.h" 00005 #include "bitmap3.h" 00006 00007 I2C i2c(PB_9,PB_8); //The OLED uses port I2C to connect to the L073RZ 00008 SSD1308 oled = SSD1308(&i2c, SSD1308_SA0); 00009 00010 int main() { 00011 //oled.setDisplayInverse(); 00012 oled.setDisplayNormal(); 00013 oled.writeBitmap((std::uint8_t *) bitmap3); 00014 00015 return 0; 00016 }
Generated on Fri Jul 22 2022 08:08:20 by
1.7.2