Python code for Arduino RobotShield using Nanpy