Now able to change pin values via SSH

Pretty much just copied all the command-parsing shit from the non-shell
arduino script. Very messy.