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: Hexi_OLED_SSD1351
Fork of Hexi_OLED_Image_Example by
main.cpp
00001 #include "mbed.h" 00002 #include "Hexi_OLED_SSD1351.h" 00003 #include "images.h" 00004 00005 int main() { 00006 00007 const uint8_t *image; 00008 00009 /* Setting pointer location of the 96 by 96 pixel bitmap */ 00010 image = ntbc1_bmp; 00011 00012 /* Instantiate the SSD1351 OLED Driver */ 00013 SSD1351 oled(PTB22,PTB21,PTC13,PTB20,PTE6, PTD15); // (MOSI,SCLK,POWER,CS,RST,DC) 00014 00015 /* Turn on the backlight of the OLED Display */ 00016 oled.DimScreenON(); 00017 00018 oled.DrawImage(image,0,0); 00019 }
Generated on Sat Aug 6 2022 10:50:24 by
1.7.2
