We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e269fb commit 6cc2373Copy full SHA for 6cc2373
libraries/Arduino_FreeRTOS/examples/FreeRTOS-Blink/FreeRTOS-Blink.ino
@@ -19,8 +19,11 @@ void setup()
19
Serial.begin(115200);
20
while (!Serial) { }
21
22
+#if defined(ARDUINO_PORTENTA_H33)
23
+ /* Only the Portenta C33 has an RGB LED. */
24
pinMode(LEDR, OUTPUT);
25
digitalWrite(LEDR, LOW);
26
+#endif
27
28
/* Init a task that calls 'loop'
29
* since after the call to
@@ -69,7 +72,12 @@ void setup()
69
72
70
73
void loop()
71
74
{
75
76
77
digitalWrite(LEDR, !digitalRead(LEDR));
78
+#else
79
+ Serial.println(millis());
80
81
vTaskDelay(configTICK_RATE_HZ/4);
82
}
83
0 commit comments