For amx31820
Fork of DS1820 by
Sf18B20.h
- Committer:
- schnf30
- Date:
- 2018-04-30
- Revision:
- 15:3d3ba015f6af
- Parent:
- 14:f375b7de7856
File content as of revision 15:3d3ba015f6af:
#ifndef SfDS1820_H_ #define SfDS1820_H_ #include "DS1820.h" class Sf18B20 : public DS1820 { public: Sf18B20(PinName pin); bool Run(unsigned period); void Stop(void); double Read18B20(void); bool DataReady(void); private: Ticker flipper; double data18B20; bool dataready; void flip(void); }; #endif