The article describes a way to convert the ATtiny microcontroller into a Pong game. This is more of a fun based project and would be ideal for beginners. Read on to know more about this.
The project can be accomplished by connecting the RGB to the PBo. For storing purposes, fifteen registers have been used throughout the project to achieve a horizontal resolution of 120 by 96, which helps the screen to look like a square.
After performing this task, it would be be possible to walk through the 120 bits as well as it enables the user to switch on or off the RGB pin of the circuit.
While talking about the programming used to complete the project, the original code has been cropped by removing some loops and conditions. The conditional skip that was used in the original coding has been
replaced by the “add with carry” after the shift into temporary register.
There are some more parts of the original coding that were to be removed or replaced by the new set of codes. Bresenham’s line algorithm has been implemented in this case in order to achieve fair and quick results.