//you can see the blue LED lights in different intensity
// maximum pwm value 255
void setup()
{
pinMode(PF_2, OUTPUT);
}
void loop()
{
analogWrite(PF_2, 50);
delay(500);
analogWrite(PF_2, 100);
delay(500);
analogWrite(PF_2, 150);
delay(500);
analogWrite(PF_2, 200);
delay(500);
analogWrite(PF_2, 255);
delay(500);
}
// maximum pwm value 255
void setup()
{
pinMode(PF_2, OUTPUT);
}
void loop()
{
analogWrite(PF_2, 50);
delay(500);
analogWrite(PF_2, 100);
delay(500);
analogWrite(PF_2, 150);
delay(500);
analogWrite(PF_2, 200);
delay(500);
analogWrite(PF_2, 255);
delay(500);
}