LEDs must go ON with LDR

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Frank607
Posts: 194
Joined: Mon Mar 04, 2013 8:07 pm
Has thanked: 29 times
Been thanked: 15 times

LEDs must go ON with LDR

Post by Frank607 »

Hi,

I'm trying to make the following:

When it gets dark in the evening, the LEDs should flash until it gets light again in the morning. This is done via an LDR.
I've got it pretty much working, but not completely.

The LEDs only flash once, which makes sense because the Loop stops. So something else needs to be done with the Loop, but I don't know what.

Who has the solution for me?
TEST-01.fcfx
(13.17 KiB) Downloaded 137 times

Frank607
Posts: 194
Joined: Mon Mar 04, 2013 8:07 pm
Has thanked: 29 times
Been thanked: 15 times

Re: LEDs must go ON with LDR

Post by Frank607 »

Hi I have found it :-)

Thanks to this page (hard to find)
https://www.flowcode.co.uk/wiki/index.p ... Properties

I needed this:
ADCValue >= 70

Post Reply