int LED=10; //sets LED to 10
void setup()
{
// put your setup code here, to run once:
Serial.begin(9600); //starts recording the output values
pinMode(LED,OUTPUT); //intiliazes LED so it lights up
}
void loop() {
// put your main code here, to run repeatedly:
analogWrite(LED,0);
for (int i=1; i < 21; i++) { //for loop to repeat by +1
//up to 101 starting at 1
Serial.println(i); //prints i value as it increases
analogWrite(LED,12.75*i);
delay(1000);
}
}