added demo mode to arduino