Hey Dear Node-Red Forum.
I am still new to Node-Red
I have serveral questions, for you maybe basic, maybe i am just stupid, but its making me crazy(a chat would be nice instead of this thousend of topics.).. anyway:
I programm just for testing in Arduino IDE a programm which makes a LED blinking faster with each blink.. til its on, and starts from beginning.
#define LED D1 //define LED output
void setup() {
pinMode(LED, OUTPUT); //Port declare Output
}
void loop() {
for (int i=80; i>=0;i--) { //80 Steps, faster and faster
digitalWrite(LED, HIGH );
delay(i*5);
digitalWrite(LED,LOW);
delay(i*5);
}
}
So now i want to create it in Node-Red, and there is the question:
Is it possible to change the value of the previous Inject Time interval in a function like with a set / get function?? Or am I going the wrong way?
Then i want to have a delay.. I found the Function setTimeout(), or wait() or clearTimeout(). but that doesnt work.
Best regards
Tom
PS: I know, there doesnt exist stupid questions.. but i am close to it.