Three separate photocell imputs for one output

I wired an Arduino and uploaded the sketch I found on the OPEN HOUSE AUTOMATION SMARTLIGHTING-ARDUINO-PHOTOCELL web site. Everything works fine, on the Arduino, however, I need any one of three different photocells when they go dark to give me a single 5 volt output with a 7 second off delay. My first microprosser and I don’t know code Can someone please show me how to edit the attached sketch to accomplish my goal.
Thanks, sparky

You haven't attached a sketch but that's o.k. Instead of doing that read "How to use this forum - please read" at the top of the forum and then post the sketch using the method described in there. How to use this forum - please read. - Installation & Troubleshooting - Arduino Forum

Steve

I wired an Arduino and uploaded the sketch I found on the OPEN HOUSE AUTOMATION SMARTLIGHTING-ARDUINO-PHOTOCELL web site. Everything works fine, on the Arduino, however, I need any one of three different photocells when they go dark to give me a single 5 volt output with a 7 second off delay. My first microprosser and I don’t know code Can someone please show me how to edit the attached sketch to accomplish my goal.
Thanks, sparky

photocell sketch2.pdf (93 KB)

Cross posted in Three separate photocell imputs for one output - Project Guidance - Arduino Forum

And ignored advice about the correct way to post code.

Steve

Since you don't know the C/C++ language and the Arduino special features, we recommend to work through the simple examples that come with the Arduino IDE (software development package). Learn to blink an LED, read an analog pin, etc. before trying more complicated programming.

First I had a hard time attaching a file because I am not computer literate and this site will not except all .doc files. Second I have already did the blink thing. Did the serial input project and have spent hours trying to find an example on how to do this. I model trains and once I get this to work I most likely will not need to use code again. If someone is willing to edit my sketch so when any one or two of thee photocells go dark i get a 5 volt output to energize a relay controlling crossing signals i would appreciate it.

To learn how to post code properly, please read the "How to use this forum" post.

Don't expect free help if you can't be bothered to take such simple steps.

And this:

once I get this to work I most likely will not need to use code again.

tells us that our efforts would just be wasted anyway.

Threads merged.