HMC5883 Compass icon HMC5883 Compass — Reads HMC5883 3-axis compass via I2C and updates EZ-Script variables on demand; polled control offers periodic heading data, for connected sensors. Try it →

ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

No, use robo scratch for learning to program and creating linear execution blocks.

If you want to create a loop, use ezscript and type....


:start

# move servo to position 50 degrees 
Servo(d2, 50)

# wait some time for servo to move
Sleep(2000)

# move servo to position 100 degrees
Servo(d2, 100)

# wait some time for servo to move 
Sleep(2000)

# go to the loop start marker
Goto(start)
Author Avatar
Ireland
#3  

Thank you Dj

#4  

Are there any plans to implement more of Scratch 2.0 functionality (i.e. loops, conditional statements, etc.) in RoboScratch in the near future? My kid is somewhat proficient in Scratch, but text-based programming is beyond his grasp so far. And it's difficult to teach him robot programming without basic constructs. IMHO having some flavor of Scratch (similar to mBlock, maybe) working with EZ robots would certainly expand their application in STEM.

#6  

Sorry, my bad. Won't do it again.