lilypad programming

Hello

Im new to this forum so I hope someone can help me out.Ive been trying to programme my lilypad to allow for five LEDs to come on when it gets light. I have a light sensor and im not too sure how I would go about making acode for this. Can someone please help me out?

Thanks

Nisanur

have you make sure the connection worked?

If your light sensor is a Light Dependent Resistor, study this example:

https://create.arduino.cc/projecthub/amar-slik/turn-on-and-off-led-by-ldr-toggle-ldr-2e3502

Note that the lilypad pins work the same as Arduino UNO pins.