Skip to content

Instantly share code, notes, and snippets.

@ensonic
Created February 29, 2016 15:15
Show Gist options
  • Save ensonic/c88b0ea0370f6ecfee89 to your computer and use it in GitHub Desktop.
Save ensonic/c88b0ea0370f6ecfee89 to your computer and use it in GitHub Desktop.
cd /sys/class/lego-port/port5/outB:lego-ev3-l-motor/tacho-motor/motor0
echo "100" >speed_sp
echo "run-forever" > command
# about 100
cat speed
101
# no effect
echo "200" >speed_sp
# now it changes
echo "run-forever" > command
echo "stop" > command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment