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: ds18b20/DS18B20.h
- Revision:
- 4:5213bee8158e
- Parent:
- 3:0ef2ced1f02d
diff -r 0ef2ced1f02d -r 5213bee8158e ds18b20/DS18B20.h
--- a/ds18b20/DS18B20.h Sat Apr 12 20:07:15 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-#ifndef _DS18B20_
-#define _DS18B20_
-
-#include <stdint.h>
-#include "mbed.h"
-
-// Device Faimly ID and Setial number information
-typedef union {
- uint8_t rom[8];
- struct {
- uint8_t familyCode;
- uint8_t serialNo[6];
- uint8_t CRC;
- } BYTES;
-} ROM_Code_t;
-
-ROM_Code_t ReadROM() ;
-
-// temperature is store as 7.4 fixed point format (assuming 12 bit conversion)
-void displayTemperature(Serial& s) ;
-float mytemp(void);
-
-#endif
\ No newline at end of file