-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_O defined as unsigned int in Oscillator.h #15
Comments
Hello Thanks! |
I can confirm that changing the way _O is declared fixed the problem on my Esp Otto silly walk... I now move on with the rest of the sketches and some more fun :) I forked the repo here : https://github.com/sushicodeur/OttoOnEsp |
Great thanks! feel free to pull a request with a new folder or something i will just approve |
I wait for my arduino nano to ship with ultrasonic sensor and shield, so I can test that my changes don't break on arduino. |
sure thanks for contributing! ;D |
Hey how is it going so is possible ESP with Otto? |
Hello,
I'm trying to make Otto work on my Esp8266.
It works quite well so far except for some very strange behaviors on oscillateServos function. For example if I run
Otto.updown(6, 500, BIG);
the right foot is totally up.After some investigation it looks like for this function O is
int O[4] = {0, 0, h, -h};
so if you call updown with BIG you end up with these values{0,0, 30, -30}
.So far so good (well on arduino at last).
But on my ESP as _O is declared unsigned it takes 4,294,967,295 as a value... too much for my servo :)
So my question is : is it normal that _O is declared unsigned or is it a bug in Oscillator.h ?
The text was updated successfully, but these errors were encountered: