arduino Serial 통신
void setup(void) { Serial.begin(115200); Serial.println("Connected");} void loop(void) { Serial.print("text : "); Serial.print(78, BIN) gives "1001110" Serial.print(78, OCT) gives "116" Serial.print(78, DEC) gives "78" Serial.print(78, HEX) gives "4E" Serial.print(1.23456, 0) gives "1" Serial.print(1.23456, 2) gives "1.23" Serial.print(1.23456, 4) gives "1.2346" Serial.write( ..