HELLO MY NAME IS BIG BIRD
  • Mechanical
  • Electrical
    • Block Diagram
    • Circuits
  • Software
  • Our Team
  • Gems of Wisdom
  • Challenges
  • Materials

Gameplay​ State Machine

Our top level state machine handles overall gameplay. The state machine starts as soon as the TRACTOR is powered on and ends as soon as the SPUD receives notice that permits have expired.
It also handles the lighting of the LEDs. The color red signifies team CKH and blue signifies team GHI. The LEDs blink until permits are issued, and then remain solid throughout gameplay. Once the game has ended, the LEDs flash purple. 
Pseudocode

    
GameplayHSM.c

    
GameplayHSM.h

    
Powered by Create your own unique website with customizable templates.
  • Mechanical
  • Electrical
    • Block Diagram
    • Circuits
  • Software
  • Our Team
  • Gems of Wisdom
  • Challenges
  • Materials