HZV Receiver PIC
Any data received by the XBee RF module on our HZV was sent to the HZV Receiver PIC using asynchronous serial communication. The HZV Receiver PIC handled the handshaking process required to establish communication with an LUC and the sending of acknowledge messages back to the LUC when data was received. It sent any relevant commands to the Right Motor PIC, Left Motor PIC, Attack Mechanism PIC, and the Connection Indicator PIC using the SPI standard for synchronous serial communication. If a command was received from the Necromancer, the HZV Receiver PIC modified the boats behavior accordingly. It also received information from the Balloon Monitor PIC and used it to determine if the HZV was a human or a zombie at any one time.
Source Files
|
Header Files
|