Dependencies: mbed Servo PinDetect
Diff: lock.h
- Revision:
- 4:628468ce3e86
- Parent:
- 3:2f7a7e2cd49e
--- a/lock.h Tue Nov 13 03:19:06 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -/* -* 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(); -