Cleaned up, added example arduino code