cheat Module
Files:
Interface
Function: CheatInit
Arguments: None
Returns: Nothing
Initializes the port used to control the fan that goes on when the cheat is activated.
Function: ExecuteCheat
Arguments: None
Returns: Nothing
Turns on and off the fans.
Pseudo-Code
InitCheat(Takes and returns nothing.) set the fan pin to LO set the fan pin data direction to write
ExecuteCheat(Takes a constant indicating the state.)
if the passed-in state is ON:
set the fan pin HI
else:
set the fan pin LO
endif