Some arduino code to remote control all of its pins through a serial connection