![](/media/cache/profiles/a7bf3f5462cc82062e41b3a2262e1a21.50x50_q85.jpg)
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
diff -r 000000000000 -r 1193dbfe28e2 Headers/owTemp.h --- /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 + +