Arduino code to control a flipdot matrix