Demo controlling the LEDs on a simple pushbutton/LED matrix module
See LEAP#303 KeyboardMatrixModule for details of the module I am testing here.
It features 8 LEDs. I’ll test these with a simple direct-control program running on an Arduino.
The board features 8 red LEDs with 1kΩ (102) current-limiting resistors and corresponding pins D1-8.
With VCC connected to power, when any pin D1-8 is pulled to ground the corresponding LED will light.
The LedControl.ino sketch does no more than switch the LEDs on in order.