Alberto Terrazas / Mbed 2 deprecated Lupe

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers OVEN.h Source File

OVEN.h

00001 #include "mbed.h"
00002 #include "definitions.h"
00003 
00004 class OVEN{
00005     public:
00006         OVEN(PinName OvenPin);
00007         void Init(void);
00008         void Home(void);
00009         void setTimer(int t);
00010         int getTimer(void);
00011         void check(void);
00012         void open(void);
00013     private:
00014         PwmOut OvenPWM;
00015         int timer;
00016         int openedTimer;
00017         bool enable;
00018 };//OVEN