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.
Diff: GRIDDLE/GRIDDLE.h
- Revision:
- 0:b47aaa131075
- Child:
- 1:4fb1de70cd4d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GRIDDLE/GRIDDLE.h Mon Feb 11 15:28:07 2019 +0000 @@ -0,0 +1,17 @@ +#include "mbed.h" +#include "definitions.h" + +class GRIDDLE{ + public: + GRIDDLE(PinName Pwm,PinName Up,PinName Down,PinName Home); + void Init(void); + void Home(void); + bool isFree(void); + bool check(void); + private: + PwmOut GriddlePWM; + DigitalOut GriddleMotorUp; + DigitalOut GriddleMotorDown; + DigitalIn GriddleHome; + int TimerDown; +};//GRIDDLE \ No newline at end of file