Let's Make Robots!

Variables and operators help in Spin

Hi again LMR Im having some problems writing basic obstacle avoidance code for a propeller based robot with a ping
when i compile the code i get the error "variable needs an operator"
its a bit noobish of me really but im a bit stuck.
And yes i have read the pages on operators in the propeller manual (page 144 in the propeller manual v1.1)
Heres a screen cap for those interested

many thanks for the help

Tom J

AttachmentSize
mr_general.txt1.27 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Colon Equals  :=  instead of just an =

 

Cheers Chris,
just getting my head round the rest of the code now
Tom J