Arduino: 16x8 game of life

Teodor Costachioiu
Jun 7, 2015 · 1 min read

Here is a quick weekend project: a game of life implemented using one Arduino Uno, one Arduino Uno Click shield and two 8×8 LED matrix B click boards from MikroElektronika

The code is a variation of http://brownsofa.org 8×8 GoL code, which I have adapted to work with the LedControl library. I have also removed the randomization of the initial state. Of course, you can add it later, for more fun. I also changed the initial state to the acorn pattern, which evolves over a longer period of time.

The code is pretty self-explanatory. One thing though: by the way the click shield is designed, the two 8×8 blue click boards are not chained, They use separate CS pins (or load, as it’s named in the LedControl library). I had to compensate this by using two instances of LedControl, one for each 8×8 click board.


Originally published at https://electronza.com on June 7, 2015. Moved to Medium on May 5, 2020.

Electronza

DIY electronics projects and more

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store