my photon doesn’t print from the “setup” loop im trying to display a few options from my main loop while it reads the serial port. basically a "serial menu"
if plug it in then rapidly open serial monitor on the arduino IDE or even putty i get the setup function to show and the main loop running, but is there a way to make setup show once plugged or flashed every time?
a very basic snippet
void setup()
{
Serial.begin(9600);
Serial.println ("startup string to test");
while(!Serial);
}
void loop()
{
Serial.println("Hello world!");
delay(1000);
}