This following article gives an overview of the simple 2D array of individual addressable LEDs. Read on to know more about this.
This will positively give a nice platform for many games like snake, pong and many more. For this, (HL1606-based) strip with lots of ribbons can be used. This strip is used because it is cheaper in comparison with other strips availabel in the market.
LED strip have been cut into 8-Led segments and wired in a serial manner. These LEDs are individually controllable by a microcontroller. The Adafruit’s HL1606strip library has been used in the project as the strips go up and down alternatively.
The only noticeable difference that comes across during the project, is that every other segment has been written in backward direction in comparison to the other one. This is mainly because of the opposite direction orientation for this HL1606grid that has been added as the additional layer of abstraction.
The API, which is used in this, is quite straightforward. Particular LED like: grid.setLEDcolor(row, col, RED); should be set at the time of instantiating the grid. The 1D HL1606strip library can also be used in order to get more efficient results.