Outputs the original DS3231demo to a COM port rather than an debugger(?)

Dependencies:   ds3231 mbed

Fork of DS3231demo by Maxim Integrated

Committer:
j3
Date:
Wed Nov 19 04:16:48 2014 +0000
Revision:
0:6be499dd402a
Child:
1:7db4a1cc7abb
inherited I2C

Who changed what in which revision?

UserRevisionLine numberNew contents of line
j3 0:6be499dd402a 1 //Test Ds3231 class
j3 0:6be499dd402a 2
j3 0:6be499dd402a 3 #include "ds3231.h"
j3 0:6be499dd402a 4
j3 0:6be499dd402a 5
j3 0:6be499dd402a 6 int main(void)
j3 0:6be499dd402a 7 {
j3 0:6be499dd402a 8 //instantiate rtc object
j3 0:6be499dd402a 9 Ds3231 rtc(D14, D15);
j3 0:6be499dd402a 10
j3 0:6be499dd402a 11 for(;;)
j3 0:6be499dd402a 12 {
j3 0:6be499dd402a 13
j3 0:6be499dd402a 14 }
j3 0:6be499dd402a 15 }
j3 0:6be499dd402a 16