JSR Handler
The Joust Status Reporter (JSR) received wireless communications from the king and reported them to our microcontroller using SPI communication. A special state machine interpreted the received SPI messages and posted them to the JSR Handler. Finally, the JSR Handler kept track of the game status and posted the appropriate event for Robot Control. This separation of game status tracking and hardware reactions allowed a much simpler Robot Control structure.
Upper Level JSR Handler
jsrhandlerhsm.h.rtf | |
File Size: | 2 kb |
File Type: | rtf |
jsrhandlerhsm.c.rtf | |
File Size: | 27 kb |
File Type: | rtf |
Lowre Level JSR Game Play
jsrgameplayhsm.h.rtf | |
File Size: | 2 kb |
File Type: | rtf |
jsrgameplayhsm.c.rtf | |
File Size: | 44 kb |
File Type: | rtf |