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.
CUTTER.h
00001 #include "mbed.h" 00002 #include "definitions.h" 00003 00004 class CUTTER{ 00005 public: 00006 CUTTER(PinName Up,PinName Down,PinName Direction,PinName Enable); 00007 void Init(void); 00008 void Home(void); 00009 bool check(void); 00010 void up(void); 00011 void down(void); 00012 void cutt(void); 00013 bool available(void); 00014 void setTimer(int t); 00015 int getTimer(void); 00016 private: 00017 DigitalIn CutterUp; 00018 DigitalIn CutterDown; 00019 DigitalOut CutterMotorDirection; 00020 DigitalOut CutterMotorEnable; 00021 bool checkUp; 00022 bool cutting; 00023 int timer; 00024 int ProductionTimer; 00025 };//CUTTER
Generated on Wed Jul 20 2022 02:15:48 by
1.7.2