CP added initial arduino code