XRobots / openDogV2

MIT License
229 stars 57 forks source link

Remote Wiring Diagram #1

Open twodawg opened 3 years ago

twodawg commented 3 years ago

15964148463708307811105749923681

I used the YouTube video with the open remote case and the remote source code to try and plan the wiring. The code for the buttons and switches does not seem to match the YouTube video. Should I modify the code or switch the wiring to match the code?

Did I make any mistakes with the wiring?

Here is my build with slightly different parts. 1596414428123590616221710997594

I apologize for the image rotation. My attempts to rotate it have failed.

XRobots commented 3 years ago

Yes not all the switches are used, and some variables are named weirdly.

Essentially, the two switches on the right hand side are toggleTop and toggleBottom, but they get read as but4 and but5. The three buttons are menuUp/Down/Select/ . And then I only used two of the three upper switches which end up as toggle1 and toggle2, but they get read as sw14 and sw2 before the if statements turn them into their variables in the data struct.