/**************************************************************************** Module: Angels_MapKeys.c Description: A module to interface with the LEDs to turn on or off depending on team. ****************************************************************************/ Module Defines: #define RED_PIN_ON BIT0HI #define BLUE_PIN_ON BIT1HI /************************************************************ Function initLEDS Takes nothing, returns nothing Initializes the team LEDs ************************************************************/ Set pins 0 and 1 on Port P to output Set pins 0 and 1 on Port P to LO End of function /************************************************************ Function RedLED_On Takes nothing, returns nothing Turns the red team LEDs on ************************************************************/ Set the red LED control pin ON and other pins OFF on port P End of function /************************************************************ Function BlueLED_On Takes nothing, returns nothing Turns the blue team LEDs on ************************************************************/ Set the blue LED control pin ON and other pins OFF on port P End of function