This is my test code for multicore, with PIO arduino framework:
#include "Arduino.h"
#include "pico/multicore.h"
void setup() {
multicore_reset_core1();
multicore_launch_core1(core1_entry);
}
void loop() {
}
void core1_entry() {
pinMode(LED_BUILTIN, OUTPUT);
while(1) {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(200); // wait for a second
}
}
But the code halt at the start, and serial output these:
This is my test code for multicore, with PIO arduino framework:
But the code halt at the start, and serial output these:
Is the muticore not be supported?