Removed legacy arduino code