printer
Dependencies: HCSR04 USBDevice mbed-src mbed mbed
Fork of Serial_HelloWorld_Mbed by
Diff: DS1Wire.h
- Revision:
- 1:a66cf68ec8ca
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DS1Wire.h Mon Apr 14 14:38:46 2014 +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