kh
Dependencies: mbed PinDetect Servo
Diff: parameters.h
- Revision:
- 1:2c365f6da61d
- Parent:
- 0:28e05e1a3d1e
- Child:
- 2:04bbd14722bd
diff -r 28e05e1a3d1e -r 2c365f6da61d parameters.h --- a/parameters.h Sat Nov 10 19:30:54 2018 +0000 +++ b/parameters.h Sat Nov 10 20:08:46 2018 +0000 @@ -4,17 +4,7 @@ * Purpose: Controls the parameters of the safe * Language: C */ -enum state{OPEN, LOCK, SETUP};/*Name of the states in the Safe Cups State Machine*/ +enum states{OPEN, LOCK, SETUP};/*Name of the states in the Safe Cups State Machine*/ #define maxFailedAtttemps 6; /*number of max failed attemps entered before alarm is thrown*/ -DigitalIn button(p8); - -PwmOut rcServo1(p23); // pwm, fwd, rev -PwmOut rcServo2(p24); // pwm, fwd, rev -Serial blue(p28,p27); -AnalogIn pot1(p20); -AnalogIn pot2(p21); -AnalogIn pot3(p22); -AnalogIn pot4(p22); -