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
Fork of SSD1306_128x64_I2C by
SSD1306.h
00001 #ifndef SSD1306_H 00002 #define SSD1306_H 00003 00004 #include "SSD1308.h" 00005 00006 class SSD1306 : public SSD1308 { 00007 public: 00008 SSD1306(I2C &i2c, uint8_t address) : SSD1308(i2c,address) { 00009 char databytes[4] = {COMMAND_MODE, 0x8d, //charge pump enable 00010 COMMAND_MODE, 0x14 //charge pump ON 00011 }; 00012 i2c.write(address, databytes, 4); 00013 setDisplayFlip(false, false); 00014 } 00015 }; 00016 #endif
Generated on Thu Jul 14 2022 22:10:38 by
1.7.2
