TI-Innovator Rover demo program #1 [Shapes] - APMEP 2017 Nantes

Subscribers:
497
Published on ● Video Link: https://www.youtube.com/watch?v=ph7Mga5glrw



Duration: 0:51
2,642 views
6


With enough room (75x75cm²) and a marker in the pen holder, the code below is supposed to draw a square, then an equilateral triangle inside it, and then return to its starting position.
----------
Send("CONNECT RV")
For(E,1,4)
Send("SET RV FORWARD DISTANCE 0.5 M")
Send("SET RV LEFT")
End
Send("SET RV LEFT 30 DEGREES")
For(E,1,3)
Send("SET RV FORWARD DISTANCE 0.6 M")
Send("SET RV LEFT 120 DEGREES")
End
Send("SET RV RIGHT 30 DEGREES")
----------
Source : https://education.ti.com/-/media/ti/files/resources/rover/ti-innovator-rover-demo-programs-84.8xp