![](/media/cache/profiles/f095cedd23b99f1696fc8caecbcf257e.jpg.50x50_q85.jpg)
character LCD module to I2C adapter
main.cpp
- Committer:
- okini3939
- Date:
- 2010-10-14
- Revision:
- 0:c45ad83e1c32
- Child:
- 1:16e014cddf29
File content as of revision 0:c45ad83e1c32:
#include "mbed.h" #include "I2CLCD.h" I2C i2c(p9, p10); I2CLCD i2clcd(i2c); /* DigitalOut pullup1(p19); DigitalOut pullup2(p20); */ //I2CLCD i2clcd(p9, p10); DigitalOut myled(LED1); int main() { int i = 1; // pullup1 = pullup2 = 1; myled = 1; i2clcd.putc('0' + i); i2clcd.putc('A' + i); i2clcd.putc('a' + i); myled = 0; for (;;); }