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.
I2CLCD.h
00001 #ifndef _I2CLCD 00002 #define _I2CLCD 00003 #include <mbed.h> 00004 #include <I2C.h> 00005 00006 class I2CLCD : public I2C 00007 { 00008 private: 00009 int MaxChNum; 00010 int chCount; 00011 unsigned char LCD_WRITE; 00012 void init(); 00013 public: 00014 I2CLCD(); 00015 I2CLCD(int n); 00016 I2CLCD(PinName sda, PinName scl); 00017 I2CLCD(PinName sda, PinName scl, int n); 00018 void write(unsigned char control, unsigned char dt); 00019 void write(unsigned char ch); 00020 void write(char* ch); 00021 void writeInt(int x); 00022 void write(int x, int column, char zeroPad); 00023 void setIcon(int x); 00024 void home(); 00025 void clear(); 00026 void setCG(char mode, char* cgData); 00027 }; 00028 #endif
Generated on Thu Aug 4 2022 03:31:53 by
1.7.2