Page 1 of 1

help operating the socket

Posted: Sunday 31 May 2020 21:11
by Jojik1
Good day,
in case you can ask for help, i don't know english only with translator, i need to write this task. It won't work in Blockly:

1. switch, open - closed
2. button, click - double click
3. socket, on - off
these are two conditions:

IF switch OPEN so if button CLICK so socket ON.

IF switch CLOSED so if button CLICK so socket 1 minute ON then OFF if 1 hour switch OPEN so socket 2 hour ON then OFF

if you can't understand it, don't be angry for your time, thank you for reading.

Re: help operating the socket

Posted: Sunday 31 May 2020 21:34
by waaren
Jojik1 wrote: Sunday 31 May 2020 21:11 IF switch CLOSED so if button CLICK so socket 1 minute ON then OFF if 1 hour switch OPEN so socket 2 hour ON then OFF
Sorry but I don't understand. Maybe if you show a screenprint of your Blockly it becomes clear?

Re: help operating the socket

Posted: Sunday 31 May 2020 22:14
by Jojik1
in Blockly I can't write

Re: help operating the socket

Posted: Monday 01 June 2020 19:12
by Jojik1
OK gradually

Switch = open OR button = click
!ALIKE!
Switch = open AND button = click
always socket ON

I ask
Switch = open !and! button = click ---- socket ON
Switch = open and button = nothing ---- socket nothing
switch = closed and button = nothing ---- socket nothing