![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
temperature sensor with uOLED 96 g1 & GSM Support
Dependencies: OLED160G1 mbed uOLED
Fork of DS18B20 by
Diff: DS1Wire.h
- Revision:
- 0:03ec282c2908
diff -r 000000000000 -r 03ec282c2908 DS1Wire.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DS1Wire.h Fri Jan 29 19:01:56 2010 +0000 @@ -0,0 +1,15 @@ +#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 \ No newline at end of file