Esercitazione4_1

Dependencies:   mbed

Committer:
dfalanga
Date:
Mon Nov 28 10:35:04 2016 +0000
Revision:
0:723d0d8c0d09
Esercitazione4_1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dfalanga 0:723d0d8c0d09 1 /* Program Example 1 Utilizing LCD functions in the main.cpp file 2. */
dfalanga 0:723d0d8c0d09 2 #include "LCD.h"
dfalanga 0:723d0d8c0d09 3 int main()
dfalanga 0:723d0d8c0d09 4 {
dfalanga 0:723d0d8c0d09 5 char loc=0x40;
dfalanga 0:723d0d8c0d09 6 LCD_init(); // call the initialize function
dfalanga 0:723d0d8c0d09 7 display_to_LCD(0x46); //
dfalanga 0:723d0d8c0d09 8 display_to_LCD(0x6F); //
dfalanga 0:723d0d8c0d09 9 display_to_LCD(0x72); //
dfalanga 0:723d0d8c0d09 10 display_to_LCD(0x7A); //
dfalanga 0:723d0d8c0d09 11 display_to_LCD(0x61); //
dfalanga 0:723d0d8c0d09 12 set_location(loc);
dfalanga 0:723d0d8c0d09 13 display_to_LCD(0x4E); //
dfalanga 0:723d0d8c0d09 14 display_to_LCD(0x61); //
dfalanga 0:723d0d8c0d09 15 display_to_LCD(0x70); //
dfalanga 0:723d0d8c0d09 16 display_to_LCD(0x6F); //
dfalanga 0:723d0d8c0d09 17 display_to_LCD(0x6c); //
dfalanga 0:723d0d8c0d09 18 display_to_LCD(0x69); //
dfalanga 0:723d0d8c0d09 19 }