A demo program for ACM1602NI (I2C Tex LCD Library)

Dependencies:   ACM1602NI mbed

Committer:
takuo
Date:
Tue Jan 14 02:19:51 2014 +0000
Revision:
1:b42944e91944
Parent:
0:f2ff5dc2a1f7
Child:
2:f32887f3ffbe
Changed to use the new constructor of ACM1602NI

Who changed what in which revision?

UserRevisionLine numberNew contents of line
takuo 0:f2ff5dc2a1f7 1 #include "mbed.h"
takuo 0:f2ff5dc2a1f7 2 #include "ACM1602NI.h"
takuo 0:f2ff5dc2a1f7 3
takuo 0:f2ff5dc2a1f7 4 // p9: sda, p10: scl
takuo 1:b42944e91944 5 ACM1602NI lcd(p9, p10);
takuo 0:f2ff5dc2a1f7 6
takuo 0:f2ff5dc2a1f7 7 int main()
takuo 0:f2ff5dc2a1f7 8 {
takuo 0:f2ff5dc2a1f7 9 lcd.printf("Hello, World!\n");
takuo 0:f2ff5dc2a1f7 10 lcd.printf("ACM1602NI\n");
takuo 0:f2ff5dc2a1f7 11 }