// 中間色をつくる void setup() { } void loop() { analogWrite(11,0); //徐々に明るくなる delay(100); analogWrite(11, 50); delay(100); analogWrite(11, 100); delay(100); analogWrite(11, 150); delay(100); analogWrite(11, 200); delay(100); analogWrite(11, 255); delay(100); }