Cleaned up example Arduino code