mBot using mBlock 5 variable to control servo


#1

I am trying to set my servo by creating a variable. The variable is will not exceed the allowed values, but I still get an Arduino error when I try to upload to my mBot. Is there a workaround?

image


#2

Please try to reopen the software, and test with some other codes like very simple one, to make sure mBlock 5 software and mCore is working. I tested with your code, upload works.
If you still have error, please show us the error details.


#3

Thanks - I reloaded the program today and it worked.


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.