diff --git a/public/help/en/robots/sphero_commands.html b/public/help/en/robots/sphero_commands.html index 1116929..61e4760 100644 --- a/public/help/en/robots/sphero_commands.html +++ b/public/help/en/robots/sphero_commands.html @@ -56,19 +56,19 @@
Pings Sphero to see if it is responding
A constant value, same as 0
A constant value, same as 180
A constant value, same as 90
A constant value, same as 270
There are more commands, but these are the most important. For more information, take a look at the Sphero gem documentation on Github.
diff --git a/public/help/shared/robots/code1_1.rb b/public/help/shared/robots/code1_1.rb index 81d6490..49edaa4 100644 --- a/public/help/shared/robots/code1_1.rb +++ b/public/help/shared/robots/code1_1.rb @@ -1,17 +1,17 @@ require 'sphero' Sphero.start '/dev/tty.Sphero-YBW-RN-SPP' do - roll 60, FORWARD + roll 60, Sphero::FORWARD keep_going 3 - roll 60, RIGHT + roll 60, Sphero::RIGHT keep_going 3 - roll 60, BACKWARD + roll 60, Sphero::BACKWARD keep_going 3 - roll 60, LEFT + roll 60, Sphero::LEFT keep_going 3 stop -end \ No newline at end of file +end