Actually, I have a more specific question. As I was reading the documentation that came with PBASIC 2.5 I noticed that the Do … While … Loop needs a condition with the WHILE and UNTIL, whereas statements are used where the code is inserted.
Do While|Until conditions
'code
statements
Loop While|Until conditions
Question - What is the difference between a condition and a statement ? Can I use sFront = 0 as a condition?
Hey, I figured out why the code was not working to my liking. In my code, I used a SEROUT, but no SERIN. Remember, you need to use a SERIN to get input from the sensors! This goes to show what sleep deprivation does to people!