// Gamma correction example:
// The left LED has a gamma factor of 2.8 (the default),
// and the right LED has a gamma factor of 1.0 (no correction).
void setup() {
pinMode(10, OUTPUT);
}
void loop() {
analogWrite(10, 1);
delay(500);
analogWrite(10, 10);
delay(500);
analogWrite(10, 100);
delay(500);
analogWrite(10, 255); // 100% duty cycle
delay(500);
}