OMG !!! Thanks for help .... i didnt expected that ...
1. Thanks for PaulS for all the advice he gave..
2. Thanks to westf because he gave the most important thing..
"""" I don't quite understand what your code is doing (ALLBACKWARD for 700 ms doesn't seem like "stopped."), but I'm pretty sure that the program logic here accomplishes the same thing you did with your goto..."""
-- I didn't understood why you said "stopped" whit "" but the Backward command inverses the rotate direction.. the BREAK command is for stopping the Forward rotates it normally and the release i don t know what is doing ... in fact it didn't worked but the idea whit while command saved me
there are 2 kind o commands for PWM s: motor(2, FORWARD, 255)-- who s from internet and rotates only 1 motor
ALLFORWARD(255) -- what is created by me and rotates all 2 motors
3.for pYro_65 for saying me what version c++ i need
4.and for Lennaert because he taked my side.
About the book (boob
) is from 1997 by Kris Jamsa and Lars Klander for Borland Turbo C++ Lite ... Ahh and i read it like a story book but i m at only 10 percent of it because it had 1200 pg es
I will post my program if its ready...