Esercitazione4_1
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:723d0d8c0d09
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Nov 28 10:35:04 2016 +0000 @@ -0,0 +1,19 @@ +/* Program Example 1 Utilizing LCD functions in the main.cpp file 2. */ +#include "LCD.h" +int main() +{ + char loc=0x40; + LCD_init(); // call the initialize function + display_to_LCD(0x46); // + display_to_LCD(0x6F); // + display_to_LCD(0x72); // + display_to_LCD(0x7A); // + display_to_LCD(0x61); // + set_location(loc); + display_to_LCD(0x4E); // + display_to_LCD(0x61); // + display_to_LCD(0x70); // + display_to_LCD(0x6F); // + display_to_LCD(0x6c); // + display_to_LCD(0x69); // + } \ No newline at end of file