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...
DS1Wire.h
- Committer:
- Renato
- Date:
- 2013-08-23
- Revision:
- 0:4f399e4b64a9
File content as of revision 0:4f399e4b64a9:
#ifndef __DS_1_WIRE__ #define __DS_1_WIRE__ #include <stdint.h> #include "mbed.h" int Reset(DigitalInOut& pin); void WriteBit(DigitalInOut& pin, uint32_t bit); uint32_t ReadBit(DigitalInOut& pin); void WriteByte(DigitalInOut& pin, uint32_t byte); uint32_t ReadByte(DigitalInOut& pin); #endif