I’ve shown you how to use shift registers to drive an LED grid, including how to draw pictures on the screen from memory. Now we’re going to use those tools to make a game similar to the classic Tetris. I’ll show you the circuit, how to draw pieces, how to create animations, respond to user input, and more. Learning how to build complex behavior from simple parts is a great start to thinking about how robots behave.
In previous tutorials I showed how to use seven segment displays, how to use shift registers and how to daisy chain shift registers, and talked a bit about persistence of vision. In this tutorial we’re going to combine shift registers and seven segment displays to make an Arduino control two four-character seven-segment displays, a task that (at first glance) might not seem possible.