hey guys .we’ve tried using the sensors , actually we need to use them for our EDU robot , anyhow it looks like the sensors only work under relays … is that right ? we need it under PWM so we can limit the speed of the motor , any ideas ? using Robogui since we finished everything using that program …
That’s my fault. RoboGUI outputs the following (it’s not supposed to be this way):
if NOT (sensorN <<condition>> value) then then label
…
label
The problem comes from the two "then"s. If you output the code (File->Write Code…) and then delete the second one, it should work just fine.
I just fixed it in the master source and will be releasing the updated version as soon as I finish some other things with it.
That’s the same problem I emailed you about today, Rob. Just a few days too late.
Least I’ve got my own working version already!