kh
Dependencies: mbed PinDetect Servo
open.h
00001 /* 00002 * Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga 00003 * Purpose: Controls the OPEN state of the machine 00004 * Language: C 00005 */ 00006 /* 00007 * Function: OPEN 00008 * -------------------- 00009 * Calls the functions needed to for the open state 00010 * 00011 * 00012 * returns: the next state in the state machine 00013 * LOCK: if closed properly 00014 * ALARM: if cup is not found after searching in a full circle 00015 * 00016 */ 00017 enum states open(); 00018 00019 /* 00020 * Function: authenticate 00021 * ---------------------------- 00022 * Checks whether a cup was found through the sonar sensor 00023 * 00024 * returns: true if cup found else false 00025 */ 00026 bool authenticateOpen(); 00027 00028
Generated on Wed Jul 13 2022 11:24:16 by 1.7.2