/* EyeColor.c */ // module containing functions to initialize eye color output pins and // change eye color /* InitEyeColors */ // configure RA3 (blue pin) as digital output // configure RA4 (red pin) as digital output /* ChangeEyeColor */ // takes a parameter color of type EyeColor_t // color is RED case // set LATA3 off to turn off all blue color // set LATA4 on to turn on full red // color is BLUE case // set LATA3 on to turn on full blue // set LATA4 off to turn off red /* TurnOffEyeColor */ // write 0 to both LATA3 and LATA4 to turn off blue and red colors