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.
MACHINE.h
00001 #include "mbed.h" 00002 #include "definitions.h" 00003 00004 class MACHINE{ 00005 public: 00006 MACHINE(PinName Pwm,PinName TempPin,PinName CapsuleDoorPin,PinName CartridgePin,PinName CuttedPin); 00007 void Init(void); 00008 void Home(void); 00009 bool StartCheck(void); 00010 bool check(void); 00011 private: 00012 PwmOut BandPWM; 00013 DigitalIn Temp; 00014 DigitalIn CapsuleDoor; 00015 DigitalIn Cartridge; 00016 DigitalIn Cutted; 00017 int timer; 00018 int cuttingFailSafe; 00019 int cutts; 00020 bool TempStatus; 00021 bool cuttedEnable; 00022 };//MACHINE
Generated on Wed Jul 20 2022 02:15:49 by
1.7.2