// In diagram.json these lines
// [ "pico:GP0", "$serialMonitor:RX", "", [] ],
// [ "pico:GP1", "$serialMonitor:TX", "", [] ],
// were removed, so that
// Serial instead of Serial1
// can be used. (RK)
#define RASPI_PICO_W // so that settings.h works for all boards
#include "settings.h"
#include "Trafficlights_in_C.h"
void setup()
{
Serial.begin(115200); //
Serial.println("Raspberry Pi Pico circuit for Embedded C++ (www.rkaiser.de)");
N_Settings::show_gcc_version();
N_trafficlights_in_C::setup();
}
int counter = 0;
void loop()
{
Serial.println(counter);
delay(1000);
counter++;
N_trafficlights_in_C::loop();
}