I am sure you could do something like that, if you want a really clunky way to do it you could just attach all the LEDs to a there own digital pin and then in your code write a delay between each of the commands to turn the LEDs on. I have heard of LED drivers which could allow you to control multiple LEDs from one digital pin so if you don't want to use 5 digital pins I would look into that, I have never used an LED driver before so I'm not really sure how they work. Hope this helps a bit.
Could the 2040 be used to drive 5 leds turn on 1 2 3 4 5 in sequence once power is applied then on off power 5 4 3 2 1.
I am sure you could do something like that, if you want a really clunky way to do it you could just attach all the LEDs to a there own digital pin and then in your code write a delay between each of the commands to turn the LEDs on. I have heard of LED drivers which could allow you to control multiple LEDs from one digital pin so if you don't want to use 5 digital pins I would look into that, I have never used an LED driver before so I'm not really sure how they work. Hope this helps a bit.
amazing thank you i love you
Glad I could help!