COUT in Arduino

Hi, I'm just 2 days with Arduino, just a noob question to ask since I can't find anything in google.

How to "cout" in arduino, since its a C language based programming.

1 Like

Serial.print ("hello world");

Ah, I got it moment ago, and don't forget

loop(){
Serial.begin(9600);
}

and open up the serial monitor on IDE :slight_smile:

Thanks for the help bro =)

roylee0704:

loop(){

Serial.begin(9600);
}

or in most situations:

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

void loop() {
  // stuff
}