秋月電子 I2C接続キャラクタLCDモジュール用にI2CLCDライブラリを修正しました。 Modified I2CLCD Lib for ACM1602NI character LCD module. http://akizukidenshi.com/catalog/g/gP-05693/
main.cpp
- Committer:
- maro
- Date:
- 2013-10-20
- Revision:
- 0:9bf010140a3f
File content as of revision 0:9bf010140a3f:
#include "mbed.h" DigitalOut myled(LED1); #include "I2cLCD.h" I2cLCD lcd(p28, p27); // sda scl int main() { lcd.locate(0,0); lcd.printf("I2C_LCD"); lcd.locate(0,1); lcd.printf("ABCdefghij"); while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }