isabella
Junior Member level 3
hi all,
can someone please show me a sample code for using the max7219 for seperate switching and reading input from it?
i want to use the maz7219 as a i/o expander because it can switch 64 led's seperately. (i have 150 inputs and 150 outputs :-o )
i want to switch on different pins on a plug and then test if its wired to the correct corresponding pin.
to make it simpler to understand:
let's say there is a plug with pins a,b,c and d. and there is a panel with pin a,b,c and d.
i want to turn on the pins on the plug and check its wiring to the panel.
if pin a on the plug is wired to pin a on the panel it is correct and i move on to the next pin, if pin b on the plug is wired to pin c on the panel it is incorrect and then i wil stop the testing and display an error.
can someone help?
i have never used i/o expansion before so please be clear.
can someone please show me a sample code for using the max7219 for seperate switching and reading input from it?
i want to use the maz7219 as a i/o expander because it can switch 64 led's seperately. (i have 150 inputs and 150 outputs :-o )
i want to switch on different pins on a plug and then test if its wired to the correct corresponding pin.
to make it simpler to understand:
let's say there is a plug with pins a,b,c and d. and there is a panel with pin a,b,c and d.
i want to turn on the pins on the plug and check its wiring to the panel.
if pin a on the plug is wired to pin a on the panel it is correct and i move on to the next pin, if pin b on the plug is wired to pin c on the panel it is incorrect and then i wil stop the testing and display an error.
can someone help?
i have never used i/o expansion before so please be clear.