Charlieplexing - controlling N*(N-1) LED's with N GPIO pins
It is based on this posting. I am using an Arduino Nano to control the 12 LEDs using pins 8, 9, 10, and 11 of the Nano. Just thought it would be interesting to give...
Sub Process_Globals
Public Serial1 As Serial
Private Result, N1, N2 As Int 'ignore
End Sub
Private Sub...
' ----XOR-------
' A B Output
' -----------
' 0 0 0
' 0 1 1
' 1 0 1
' 1 1 0...