switching mux implementation
Psoc reads inptu from mat and displays in processing