/**************************************************************************** Module CharliesAngelsMain.c Description This is the main() for the Charlie's Angels ME218B project. ****************************************************************************/ /*************************************** Function Main Takes nothing, returns nothing. ****************************************/ Print a list of Keys to simulate events to the terminal Print the Gameplay Timer to the terminal for reference Print the Ball Pickup Timer to the terminal for reference Print the Hopper Hold Timer to the terminal for reference Call Hardware Initialization Functions: IR Phototransistors: initBeaconDetectors() FSR: initSPI() Drive Motors: initMotorPorts() initPWM() initPIDInterrupts() Hopper Motors: initHopperMotors() Bump sensor and Limit Switches: initBumpSensors() Team LED display: initLEDS(); Initialize the Events and Services Framework and start it running If there's an error, display either: FailedPointer, FailedInit, or Other Failure Hang after reporting error End of Function