7
Q:

how to print to the serial monitor arduino

void setup()
{
    Serial.begin( 9600 );
}

void loop()
{
    // This will write to the monitor and end the line
    Serial.println( "test text" );
  
    // This will write to the monitor but will not end the line
    Serial.print( "test text" );
}
2

New to Communities?

Join the community