HAMKit VMAC PiHat | Test Loop Example Code to Setup GPIO and I2C. v1.1
Test code is suitable for PiHat PCB revision 1.1
GPIO : Ground an Input (Button/SQ1-4), flash LEDs depending on which input selected.
I2C FMS6501 : Scan all Matrix inputs to all Matrix outputs. Used on test jig to check all OK.
When testing Matrix, input line level audio @ 1kHz tone and as the input matches output selected, a tone will beep.
Dave Williams G8PUO, December 2017