Hi,
I am currently playing with my photon and I have the idea that I want to blink an LED, easy enough
but how do I do this within an existing loop?:
void loop() {
}
int setStatus(String status) {
if(status == "DoNotDisturb"){
RGB.color(0, 0, 255);
digitalWrite(ledR, HIGH);
// Well the LED should be blinking
digitalWrite(ledG, LOW);
digitalWrite(ledY, LOW);
}
else if(....
any Ideas (I assume I am blocked somewhere, the question looks so stupid) or is this just not possible, I cannot put in another loop (as it will of course be a loop of death )
Regards,
Jan