 | | Coparison of Sensors
|
| Hi, I know this is probably a stupid question to you, but I wrote a program to compare sensors. But it doesn't seem to work. Can anyone help?? Here it is (28 years ago, 2-Jan-97, to lugnet.robotics.handyboard)
| |  | | Re: Coparison of Sensors
|
| (...) Looks like you got too many semi-colons. Take out the semi-colons on all the while lines where you want the while to do the following thing. The process is getting to the "while(!start_button());" line and staying there. Also you have too many (...) (28 years ago, 3-Jan-97, to lugnet.robotics.handyboard)
| |  | | Re: Coparison of Sensors
|
| (...) I agree. You should only have a semi-colon after a while if you dont want that while to loop through any instructions. A semi-colon after a while tells the compiler that all you want to do is continuously test the while condition until it (...) (28 years ago, 3-Jan-97, to lugnet.robotics.handyboard)
| |