Hello, im feeling retarded.. but when reading potentiometer(Joystick) values with the code;
setInterval(() => { console.log(analogRead(D7); }, 50);
It idles at 0.65 ish. So when moving forward the remote goes quickly to ~1 and the overshoots and start going back. So when full throttle its at 0.76.
It doesnt really matter which potentiometer i plug in they all give me some kind of going over max value and back behavior.
Thanks, Gustav
@Gustav started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello, im feeling retarded.. but when reading potentiometer(Joystick) values with the code;
It idles at 0.65 ish.
So when moving forward the remote goes quickly to ~1 and the overshoots and start going back. So when full throttle its at 0.76.
It doesnt really matter which potentiometer i plug in they all give me some kind of going over max value and back behavior.
Thanks,
Gustav