kh
Dependencies: mbed PinDetect Servo
Diff: lock.h
- Revision:
- 1:2c365f6da61d
- Parent:
- 0:28e05e1a3d1e
- Child:
- 2:04bbd14722bd
--- a/lock.h Sat Nov 10 19:30:54 2018 +0000 +++ b/lock.h Sat Nov 10 20:08:46 2018 +0000 @@ -1,29 +1,25 @@ -/* -* Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga -* Purpose: Controls the LOCK state of the machine -* Language: C -*/ -#include "lock.cpp" - -/* -* Function: lock -* -------------------- -* Locks safe -* -* returns: the next state in the state machine -* Open: After it has been locked -* -*/ -enum states lock() { -} - -/* -* Function: authenticate -* ---------------------------- -* Checks whether a cup was found through the sonar sensor -* -* returns: true if cup found else false -*/ -bool authenticate() { - -} +/* +* Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga +* Purpose: Controls the LOCK state of the machine +* Language: C +*/ + +/* +* Function: lock +* -------------------- +* Locks safe +* +* returns: the next state in the state machine +* Open: After it has been locked +* +*/ +enum states lock(); + +/* +* Function: authenticate +* ---------------------------- +* Checks whether a cup was found through the sonar sensor +* +* returns: true if cup found else false +*/ +bool authenticateLock();