Doe anyone know where the Arduino IDE keeps the template for the default sketch? I want to make my initial sketch able to support 3 CPU cores.
When I create a new sketch, I need something like:
void setup() {
// put your setup code here, to run once on CPU 0:
}
void loop() {
// put your main code here, to run repeatedly on CPU 0:
}
void setup_cpu1() {
// put your setup code here, to run once on CPU 1:
}
void loop_cpu1() {
// put your main code here, to run repeatedly on CPU 1:
}
void setup_cpu2() {
// put your setup code here, to run once on CPU 2:
}
void loop_cpu2() {
// put your main code here, to run repeatedly on CPU 2:
}
Thanks!