![](/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
DS1Wire.h@0:03ec282c2908, 2010-01-29 (annotated)
- Committer:
- feabhas
- Date:
- Fri Jan 29 19:01:56 2010 +0000
- Revision:
- 0:03ec282c2908
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
feabhas | 0:03ec282c2908 | 1 | #ifndef __DS_1_WIRE__ |
feabhas | 0:03ec282c2908 | 2 | #define __DS_1_WIRE__ |
feabhas | 0:03ec282c2908 | 3 | #include <stdint.h> |
feabhas | 0:03ec282c2908 | 4 | #include "mbed.h" |
feabhas | 0:03ec282c2908 | 5 | |
feabhas | 0:03ec282c2908 | 6 | int Reset(DigitalInOut& pin); |
feabhas | 0:03ec282c2908 | 7 | |
feabhas | 0:03ec282c2908 | 8 | void WriteBit(DigitalInOut& pin, uint32_t bit); |
feabhas | 0:03ec282c2908 | 9 | uint32_t ReadBit(DigitalInOut& pin); |
feabhas | 0:03ec282c2908 | 10 | |
feabhas | 0:03ec282c2908 | 11 | void WriteByte(DigitalInOut& pin, uint32_t byte); |
feabhas | 0:03ec282c2908 | 12 | uint32_t ReadByte(DigitalInOut& pin); |
feabhas | 0:03ec282c2908 | 13 | |
feabhas | 0:03ec282c2908 | 14 | |
feabhas | 0:03ec282c2908 | 15 | #endif |