arduino code working with demo