Created arduino.ino and test functions for controller.