Gradually increase the LED screen brightness until the LED lights are at full brightness.
led.fadeIn(700);
The following code turns on centre LED and then gradually increases and decreases the screen brightness (the centre LED pulses 5 times):
led.plot(2, 2)
for (let i = 0; i < 5; i++) {
led.setBrightness(0)
led.fadeIn(100)
basic.pause(100)
led.fadeOut(100)
}