News

int i = 0; const int LED = 11; //define the pin we use for LED void setup() { pinMode(LED, OUTPUT); //set pin 11 as OUTPUT } void loop() { for (int i = 0; i 0; i--){ //descrease i with 1 ...
/* Fade This example shows how to fade an LED on pin 9 using the analogWrite () function. The analogWrite () function uses PWM, so if you want to change the pin you're using, be sure to use another ...