Posted: Jun 27, 2018 4:42 pm
Whew, yard work not finished but I am finished with it, for today. At 10:30 the temperature had already reached 94° F.
Yes, the idea is to create a dead zone. I did confirm that the joystick returns values within those specs via the serial monitor. When I recover from my sweat fest I will fire up the IDE and make some changes, and report my progress. I may expand that null area a bit more to better control unwanted input. I will definitely alter the “if” “else” statements as per your guidance.
My biggest issue with this is still how to use those analog values to derive a pulse train proportional to input. Perhaps just writing a shit ton of these “if” “else” statements to refine the degrees of input values would accomplish this.
Still, thanks very much.
RS
Yes, the idea is to create a dead zone. I did confirm that the joystick returns values within those specs via the serial monitor. When I recover from my sweat fest I will fire up the IDE and make some changes, and report my progress. I may expand that null area a bit more to better control unwanted input. I will definitely alter the “if” “else” statements as per your guidance.
My biggest issue with this is still how to use those analog values to derive a pulse train proportional to input. Perhaps just writing a shit ton of these “if” “else” statements to refine the degrees of input values would accomplish this.
Still, thanks very much.
RS