DFRobot DFR0274 Panduan Memulai Cepat - Halaman 4
Jelajahi secara online atau unduh pdf Panduan Memulai Cepat untuk Mikrokontroler DFRobot DFR0274. DFRobot DFR0274 12 halaman. Rgb led strip driver shield
setColor(0, i, 0);
delay (10);
}
delay(2000);
for (int i=0;i<255;i++)
{
setColor(0, 0, i);
delay (10);
}
delay(2000);
for (int i=0;i<255;i++)
{
setColor(i, 0, 255-i);
delay (10);
}
for (int i=0;i<255;i++)
{
setColor(255-i, i, 0);
delay (10);
}
for (int i=0;i<255;i++)
{
setColor(0, 255-i, i);
delay (10);
}
}
IR Receiving Code
For the ir receiving feature, we recommend to use
This library is quite easy to use and directly support decoding several different IR protocol.
//Please download the arduino library and install it before compiling the sam
ple code
/*
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
//Changing Blue brightness
Arduino IRRemote library
created by Ken Shirriff.