Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: AM2321.h
- Revision:
- 2:6cd3b0947188
- Parent:
- 0:d8f4c441e032
- Child:
- 3:4cd9171ba989
diff -r 0e75de2a5d21 -r 6cd3b0947188 AM2321.h
--- a/AM2321.h	Mon Jun 13 02:21:11 2016 +0000
+++ b/AM2321.h	Wed Jun 15 03:08:40 2016 +0000
@@ -27,8 +27,8 @@
 
 #ifndef __ARDUINO_AM2321_H__
 #define __ARDUINO_AM2321_H__
-#if 0
-#include "mbed.h"
+
+//#include "mbed.h"
 //#include <Arduino.h>
 
 #define LIBAM2321_VERSION "0.1.0"
@@ -43,14 +43,14 @@
     bool read();
     bool available();
 public:
-    uint32_t uid();
+    unsigned long uid();
 
 public:
     AM2321();
 };
 
 #endif
-#endif
+
 //
 // END OF FILE
 //