Y SI / Mbed 2 deprecated lib_LCD_i2c_example

Dependencies:   lib_LCD_i2c_SPTLYI mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "lib_LCD_i2c_SPTLYI.h"
00003 
00004 LCD_I2C LCD;
00005 //LCD_I2C LCD(p28, p27, p26, 0x7C);  //sda, scl, rst, only 4 slave address 0x7C 0x7D 0x7E 0x7F
00006 
00007 int main()
00008 {
00009     while(1)
00010     {
00011         for(int i = 0; i < 9999; i++)
00012         {
00013             LCD.clear();
00014             LCD.print(i);
00015             wait(0.25);
00016         }
00017     }
00018 }