hisyam fs / Mbed 2 deprecated Test_all

Dependencies:   mbed ADS1115 StepperMotor SRF05 TPA81new

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Uvtron.h Source File

Uvtron.h

00001 #ifndef UVTRON_H
00002 #define UVTRON_H
00003 
00004 #include "mbed.h"
00005 
00006 class Uvtron
00007 {
00008 public:
00009     // Constructor
00010     Uvtron(PinName a);
00011 
00012     unsigned int Counter, PrevCounter, NextCounter;
00013     unsigned char Flag;
00014     unsigned char FlagScan;
00015 
00016     void Count();
00017     void Read();
00018     void UVScan();
00019 
00020 private:
00021     InterruptIn _a;
00022   unsigned char i;
00023 };
00024 
00025 #endif
00026