1-Wire implementation, using DS2480B controller interfaced with serial port, working example to read DS18B20, based on work already in progress / Dallas - Public domain code
Diff: Headers/owTemp.h
- Revision:
- 0:1193dbfe28e2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Headers/owTemp.h Thu Mar 24 17:21:29 2011 +0000 @@ -0,0 +1,43 @@ + + + +#ifndef MBED_1WIRETEMP_H +#define MBED_1WIRETEMP_H + + + +/** An interface for the Dallas 1-wire temperature buttons, the DS1920 + * + * @code + * #include "mbed.h" + * #include "1-wiretemp.h" + * + * // TODO NokiaLCD lcd(p5, p7, p8, p9); // mosi, sclk, cs, rst + * + * int main() { + * lcd.printf("Hello World!"); + * } + * @endcode + */ +class owTemp { + + + +public: + + owTemp ( ); + + + void Maingettemp( void ); + + +protected: + +private: + + +}; + +#endif + +