A matrix display consists of a number of LEDs arranged on a grid.

You need a LED matrix for this, for example the one from the Fritzing Creator Kit.

This is how the program works: If you switch the first column to HIGH (+5 V) and the first row to LOW (GND), the LED where the column and the row meet will light up. To turn all the LEDs on and off individually, the rows must be run individually. Thus, the first row is set to HIGH, while the columns are switched on and off according to the display. Next, the first row is switched to LOW and the second row to HIGH, etc.


Change the entries in the array image in the code to change the display on the screen.

Develop an animation with two images.