bah oui
Dependents: STM32_Button_Interrupt_dla_taty
Diff: Sf18B20.h
- Revision:
- 16:ddee20f8438d
- Parent:
- 15:3d3ba015f6af
--- a/Sf18B20.h Mon Apr 30 07:56:28 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -#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