Got to the root of some of my issues...everytime I reload the data file, the multiplexer changes some of the pin assignments!!! Has anyone ever heard of this? I have triple checked the wiring and pinouts and everything is as it should be.
There are duplicates, some next to each other, some not, right now I have two buttons on pin 6 and 7, but the data file says 5 and 6! And it woks! There is not any wire on 7! And NO grounding of the actual pin 7 on the multiplexer!
No wonder I am having so many issues! I am going to pull it apart and swap out the muliplexer, maybe I got a bad one? I found this out by putting random lights in all of the unused pins so I could map them all out, of course it changed when I powered up/down to get the hardware to reconnect.
Also, is there any way to test the inputs without assigning things to them? Just return the pin number...