kh

Dependencies:   mbed PinDetect Servo

Revision:
0:28e05e1a3d1e
Child:
1:2c365f6da61d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/parameters.h	Sat Nov 10 19:30:54 2018 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+/*
+ * Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga 
+ * Purpose: Controls the parameters of the safe
+ * Language:  C
+ */
+enum state{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);
+