DFRobot DFR0274 Schnellstart-Handbuch - Seite 4

Blättern Sie online oder laden Sie pdf Schnellstart-Handbuch für Mikrocontroller DFRobot DFR0274 herunter. DFRobot DFR0274 12 Seiten. Rgb led strip driver shield

DFRobot DFR0274 Schnellstart-Handbuch
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.