fixed reset on arduino, added interrupt on controller