Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I have trouble trying to figuring out a proper and elegant way of passing wait time to functions. I'm not sure if this is rgiht but it is compilable. And if i want it to stop I can introduce a new function stop(). Will it work if i did it the way i did it at reverse()?
Essentially what the printf stament is in order to increase or decrease speed, it understands a formated string of characters such as "!a3F".
where !a stands for left wheel forward and the next two characters are hex.(00 -> 0% Speed and 7F -> 100% speed).