function test for switching pins via binary
firmware that uses the mux to select inputs