DFRobot DFR0274 Skrócona instrukcja obsługi - Strona 4
Przeglądaj online lub pobierz pdf Skrócona instrukcja obsługi dla Mikrokontrolery DFRobot DFR0274. DFRobot DFR0274 12 stron. 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.