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.
Dependents: JRO_CR2 frdm_test JRO_DDSv2 JRO_DDSv2_rev2019
Fork of I2CLCD by
I2CLCD Class Reference
#include <I2CLCD.h>
Public Member Functions | |
| I2CLCD (PinName p_sda, PinName p_scl, int p_i2caddr=I2CLCD_ADDR, I2CLCDType p_type=LCD16x2, I2CLCDConfig p_config=LCDCFG_3V) | |
| put character to LCD | |
| I2CLCD (I2C &p_i2c, int p_i2caddr=I2CLCD_ADDR, I2CLCDType p_type=LCD16x2, I2CLCDConfig p_config=LCDCFG_3V) | |
| put character to LCD | |
| void | printf (const char *text, int x=0, int y=0) |
| put character to LCD | |
Protected Member Functions | |
| virtual int | _getc () |
| get character from LCD | |
Detailed Description
I2CLCD class.
Definition at line 74 of file I2CLCD.h.
Constructor & Destructor Documentation
| I2CLCD | ( | PinName | p_sda, |
| PinName | p_scl, | ||
| int | p_i2caddr = I2CLCD_ADDR, |
||
| I2CLCDType | p_type = LCD16x2, |
||
| I2CLCDConfig | p_config = LCDCFG_3V |
||
| ) |
put character to LCD
- Parameters:
-
p_sda port of I2C SDA p_scl port of I2C SCL p_i2caddr I2C address
Definition at line 92 of file I2CLCD.cpp.
| I2CLCD | ( | I2C & | p_i2c, |
| int | p_i2caddr = I2CLCD_ADDR, |
||
| I2CLCDType | p_type = LCD16x2, |
||
| I2CLCDConfig | p_config = LCDCFG_3V |
||
| ) |
put character to LCD
- Parameters:
-
p_i2c instance of I2C class p_i2caddr I2C address
Definition at line 101 of file I2CLCD.cpp.
Member Function Documentation
| int _getc | ( | ) | [protected, virtual] |
| void printf | ( | const char * | text, |
| int | x = 0, |
||
| int | y = 0 |
||
| ) |
put character to LCD
- Parameters:
-
value ASCII character code
- Return values:
-
value
Definition at line 24 of file I2CLCD.cpp.
Generated on Fri Jul 15 2022 10:23:14 by
1.7.2
