We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:c_16x2lcd_cpuinfo [2014/12/19 15:59]
john1117 [Display system informations]
en:c_16x2lcd_cpuinfo [2014/12/19 16:00] (current)
john1117 [Display system informations]
Line 1: Line 1:
 +====== Display system informations ======
 +How to compile with wiringPi librarys
 +<​code>​
 +# gcc -o [output file name] [c file name] -lwiringPi -lwiringPiDev -lpthread
 +</​code>​
 +==== 1. Display current CPU speed and CPU temperature ====
 +{{:​en:​c1:​16x2lcd_sysinfo.jpg?​300|}}
  
 +[[lcd_cpuInfo.c | lcd_cpuInfo.c]]
 +
 +==== 2. Display system time====
 +{{:​en:​c1:​16x2lcd_time.jpg?​300|}}
 +
 +[[lcd_time.c | lcd_time.c]]
en/c_16x2lcd_cpuinfo.txt ยท Last modified: 2014/12/19 16:00 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0