Open womihako opened 4 months ago
are you sure you have the right gpio numbers? and you are using switches to connect those to ground?
I have 4 switches working; 2 2-pos and 2 3-pos and they all work ok. you have to check the code to make sure that all your switches have code that runs (not commented out, etc).
How did you connect the switch. For 2-pos switch, it should be connect 1 pin to the one of the digital pin you declared and the other pin to ground. The digital should be pull up in the setup section. The digital read is high unless you use switch to "ground" it.
Hi, this is a nice project and i did it. So i have connection to the Flight controllor and also can see the analog inputs. but the switches doesnt work. maybe can get some help?