But you don't have the switching logic in the code yet. Did you expect it to work without that? Or do you make your tests with several different versions of the hardware? I have to ask again for the wiring diagram and the sketch that is used with the hardware as described in the wiring diagram.