![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ibutton read with modified ds18b20 libraries
Due to the lack of programs for ibutton interfacing with mbed, i built this one (still needs a lot of development), it's in a very basic state, but i'm working on it...
Diff: ds1990.h
- Revision:
- 0:4f399e4b64a9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ds1990.h Fri Aug 23 08:36:59 2013 +0000 @@ -0,0 +1,20 @@ +#ifndef _DS1990_ +#define _DS1990_ + + +#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[8]; + uint8_t CRC; + } BYTES; +} ROM_Code_t; + +ROM_Code_t ReadROM(); + +#endif \ No newline at end of file