출처

[아두이노 강좌] 17. Serial 통신(3) - 유용한 기능들


void setup() {

Serial.begin(9600);

}

void loop() {

int sensorValue = analogRead(A0);

Serial.println(sensorValue);

delay(100);

}

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9b93b978-bdc3-4a17-9f89-c6668d1afc4f/Untitled.png

Serial.begin(speed)

Serial.begin(speed, config)