added to controller.py, and more editing arduino.ino.