Skip to content

Instantly share code, notes, and snippets.

@RRMoelker
Created July 14, 2016 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RRMoelker/e92e9dfc787add07aaffb0c708f0fc43 to your computer and use it in GitHub Desktop.
Save RRMoelker/e92e9dfc787add07aaffb0c708f0fc43 to your computer and use it in GitHub Desktop.
WiPy hello servo using servo lib lftp upload shell script
#!/bin/bash
# first argument is WiPy ip
lftp -u micro,python $1 << EOF
cd /flash
put main.py
put WiPy-servo/servo.py
bye
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment