LED with LDR and push button.

Hi,

I have a project where I need to create a lighting system which is is controlled through an LDR and a push button.

There should be 2 LEDs which turn on when the LDR detects darkness, but can also be turned on/off manually with push button.

How would this look on an Arduino and does anyone have any coding which could help me?

Any help would be greatly appreciated!!

Thank you!

control LED with LDR.

read a push button

... and if you need the button to act like a toggle switch, have a look at this