First commit - moved code from my arduino_projects repository.