tes ir atas semua
Dependencies: mbed ADS1115 StepperMotor SRF05 TPA81new
Diff: Uvtron/Uvtron.h
- Revision:
- 12:1e3227a6fcd7
diff -r 6030cf5c2ed2 -r 1e3227a6fcd7 Uvtron/Uvtron.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Uvtron/Uvtron.h Sun Dec 16 01:53:07 2018 +0000 @@ -0,0 +1,26 @@ +#ifndef UVTRON_H +#define UVTRON_H + +#include "mbed.h" + +class Uvtron +{ +public: + // Constructor + Uvtron(PinName a); + + unsigned int Counter, PrevCounter, NextCounter; + unsigned char Flag; + unsigned char FlagScan; + + void Count(); + void Read(); + void UVScan(); + +private: + InterruptIn _a; + unsigned char i; +}; + +#endif +