kh

Dependencies:   mbed PinDetect Servo

open.h

Committer:
Sayak97
Date:
2018-11-10
Revision:
0:28e05e1a3d1e
Child:
1:2c365f6da61d

File content as of revision 0:28e05e1a3d1e:

/*
* Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga
* Purpose: Controls the OPEN state of the machine
* Language:  C
*/
#include "open.cpp"

/*
* Function:  OPEN
* --------------------
*  Calls the functions needed to for the open state
*
*
*  returns: the next state in the state machine
*  LOCK: if closed properly
*  ALARM: if cup is not found after searching in a full circle
*
*/
enum states open() {
}

/*
* Function: authenticate
* ----------------------------
*  Checks whether a cup was found through the sonar sensor
*
*  returns: true if cup found else false
*/
bool authenticate() {
}