Hi
I am a beginner in this subjekt
Is it possible to run two parts of the code at the same time?
ex.
void setup()
{
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
void loop ()
{
digitalWrite(12, HIGH);
delay(2000);
digitalWrite(12, LOW);
delay(2000);
}
I know that I cant use void loop twice, but is it possible in some other way?
I hope you understand me
thanks!
Thats what Im looking for.
But I have one question, when I copy the code and when I veryfi it it says "TimedAction does not name a type" and the row that is highlighted is