int inMin = 9;
int inMax = 11;
void setup() {
// put your setup code here, to run once:
for(int i=inMin; i<=inMax; i++)
{
pinMode(i, OUTPUT);
}
}
void loop() {
// put your main code here, to run repeatedly:
//analogWrite(9, 128);
setRGBLEDColour(9, 10, 11, 10, 90, 255);
}
void setRGBLEDColour(int pinRed, int pinGreen,
int pinBlue, int r, int g, int b){
analogWrite(pinBlue, r);
analogWrite(pinGreen, g);
analogWrite(pinRed, b);
}