66
ODROID C1 USER MANUAL
to
sprintf(lcdFb[0], “TEMP %d *C”, atoi(cpuTemp)/1000);
Then, build and launch the application using the following com-
mands, which should show a display similar to the image below:
$ gcc -o lcd_cpuInfo lcd_cpuInfo.c -lWiringPi -lWiringPiDev -lp-
thread
$ sudo ./lcd_cpuInfo
16x2 LCD – I/O shield showing some CPU data
Weather Board
The Weather-board shown below is an add-on developed by
Hardkernel, to be used with either the SHOW or 16x2 LCD device.
Below are the steps needed to get it to work with the C1 and ODROID-
SHOW.
Hardkernel’s Weather Board peripheral
Chapter 4