The Ben Heck Show

The Ben Heck Show

Mini Pinball: Codemania! SoundFX and State Machines (3) (7x21)


:

It's time to code with Arduino and the Teensy 3.6 to create the game logic and sound for the Miniature Pinball machine. Using the C++ Programming language, Ben takes Felix's C code and makes it suitable for embedded microcontroller hardware with a logic state machine, this virtualised state machine monitors what is going on with the Pinball hardware, such as buttons and what the pinball touches, to react to it by increasing your score or playing music and sounds!

  • :
  • : 444
  • : 3
  • element14