Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
GRIDDLE.h
00001 #include "mbed.h" 00002 #include "definitions.h" 00003 00004 class GRIDDLE{ 00005 public: 00006 GRIDDLE(PinName Pwm,PinName Up,PinName Down,PinName Home); 00007 void Init(void); 00008 void Home(void); 00009 void press(void); 00010 bool isFree(void); 00011 bool check(void); 00012 void setTimer(int t); 00013 int getTimer(void); 00014 private: 00015 PwmOut GriddlePWM; 00016 DigitalOut GriddleMotorUp; 00017 DigitalOut GriddleMotorDown; 00018 DigitalIn GriddleHome; 00019 int TimerDown; 00020 int timer; 00021 };//GRIDDLE
Generated on Wed Jul 20 2022 02:15:49 by
1.7.2