looking for a wiring diagram that shows how to wire the push buttons to the PCA 9685 for more than 2 switches. trying to use this for model train turnouts
A PCA9685 can only generate servo signals, nothing else.
The Uno talks to the PCA9685 via a 2-wire I2C bus.
If you need switches, then connect them to the Uno, and write code to tell the Uno what to do with the information from the switches.
If you need more help, then share the whole project with us, including parts, sketch and wiring diagram. Read the "how to post" sticky that you can find on any main page.
Leo..
thats just it im looking for a diagram, and i could be in the wrong place for this but with what i know this looked like a good place to start.
So you already have a diagram showing how to connect 2 push buttons to PCA9685? Please post that. It will be interesting to see how that had been achieved, given that PCA9685 is an output only device, as far as I know, for controlling servos and dimming LEDs.