Counter
Dependencies: EthernetInterface NTPClient SDFileSystem TextLCD WebSocketClient mbed-rtos mbed Socket lwip-eth lwip-sys lwip FATFileSystem
Counter/Counter.h
- Committer:
- Tuxitheone
- Date:
- 2016-02-29
- Revision:
- 0:ecaf3e593122
File content as of revision 0:ecaf3e593122:
#include "mbed.h" #ifndef _Counter_H #define _Counter_H #define PulsPrLiter 450 class Counter { private: InterruptIn _flowsensor; void click(); public: // ******************************************************************************** // * Constructor // * // * @param flowsignal The pin which is connected to the flowsensor. // ******************************************************************************** Counter(PinName flowsignal); int Count; float Flow(); }; #endif