Example program for the Seeed Grove shield, that uses Digit Display Grove on UART connector (D0/D1 pins). This program displays/measures time.

Dependencies:   DigitDisplay mbed

Fork of DigitDisplay_Clock by Seeed Studio

Files at this revision

API Documentation at this revision

Comitter:
screamer
Date:
Tue Jul 29 12:02:15 2014 +0000
Parent:
0:20e070e8ecca
Child:
2:36c54dcb0b7f
Commit message:
Change pins to use Arduino pin names

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Feb 08 05:56:25 2014 +0000
+++ b/main.cpp	Tue Jul 29 12:02:15 2014 +0000
@@ -3,7 +3,11 @@
 
 DigitalOut myled(LED1);
 
-DigitDisplay display(P1_14, P1_13);
+/**
+ * RX pin - D0
+ * TX pin - D1
+ */
+DigitDisplay display(D0, D1);
 
 Ticker tick;
 
--- a/mbed.bld	Sat Feb 08 05:56:25 2014 +0000
+++ b/mbed.bld	Tue Jul 29 12:02:15 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/6213f644d804
\ No newline at end of file