a

Dependencies:   LM75B mbed

Files at this revision

API Documentation at this revision

Comitter:
bulmenwt
Date:
Wed Jan 28 07:53:49 2015 +0000
Commit message:
a

Changed in this revision

LM75B.lib Show annotated file Show diff for this revision Revisions of this file
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
diff -r 000000000000 -r ae1ce8847fe3 LM75B.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LM75B.lib	Wed Jan 28 07:53:49 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/neilt6/code/LM75B/#7ac462ba84ac
diff -r 000000000000 -r ae1ce8847fe3 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Jan 28 07:53:49 2015 +0000
@@ -0,0 +1,26 @@
+/*M0-BOARD LPC11U24 VERSION 1.0 WF 01_2015
+BULME Graz / Elektronik
+
+Polling eines Tasters
+
+Datei: WF_taster_polling/main.cpp
+
+*/
+
+#include "mbed.h"
+ 
+int main() {
+    while(1) {
+        time_t seconds = time(NULL);
+ 
+        printf("Time as seconds since January 1, 1970 = %d\n", seconds);
+ 
+        printf("Time as a basic string = %s", ctime(&seconds));
+ 
+        char buffer[32];
+        strftime(buffer, 32, "%I:%M %p\n", localtime(&seconds));
+        printf("Time as a custom formatted string = %s", buffer);
+ 
+        wait(1);
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r ae1ce8847fe3 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Jan 28 07:53:49 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file