This sketch prints "Hello World!" to the LCD and shows the time.

Dependencies:   Hotboards_SpiLcd mbed

Files at this revision

API Documentation at this revision

Comitter:
Hotboards
Date:
Fri Jan 29 00:56:21 2016 +0000
Parent:
0:a910ddaef7c0
Commit message:
update commets header

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r a910ddaef7c0 -r 25bddedff209 main.cpp
--- a/main.cpp	Thu Jan 28 23:01:37 2016 +0000
+++ b/main.cpp	Fri Jan 29 00:56:21 2016 +0000
@@ -4,6 +4,7 @@
   Demonstrates the use a 16x2 LCD display.  The Hotboards_SpiLcd
   library works with all LCD displays that are compatible with the
   SP7032 driver presented on Spi Lcd board (http://www.hotboards.org).
+  
   This sketch prints "Hello World!" to the LCD
   and shows the time.
   
@@ -11,11 +12,11 @@
   *  BKL   -->  GND
   *  VDD   -->  3.3v
   *  GND   -->  GND
-  *  SCLK  -->  CLK (ICSP conector)
-  *  SI    -->  MOSI (ICSPs conector)
-  *  CS    -->  D7
-  *  RS    -->  D6
-  *  RST   -->  D5
+  *  SCLK  -->  PB_3
+  *  SI    -->  PB_5
+  *  CS    -->  PC_0
+  *  RS    -->  PC_1
+  *  RST   -->  PC_2
  
   Library and example ported by Diego from Hotboards and originally cretaed by
   by David A. Mellis