DS1302 Hello World program

Dependencies:   DS1302 mbed

Files at this revision

API Documentation at this revision

Comitter:
Gijsvanoort
Date:
Sat Feb 21 15:18:52 2015 +0000
Parent:
0:5e6107966aba
Commit message:
Fixed bug which occurs when you define a different CE pin

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5e6107966aba -r e747c4ea86e0 main.cpp
--- a/main.cpp	Mon Mar 31 20:54:17 2014 +0000
+++ b/main.cpp	Sat Feb 21 15:18:52 2015 +0000
@@ -8,7 +8,7 @@
 #include "mbed.h"
 #include "DS1302.h"
 
-DS1302 clk(SCLK, IO, PTC3);
+DS1302 clk(SCLK, IO, CE);
 
 int main() {
     #ifdef INITIAL_RUN