writr()

<< Click to Display Table of Contents >>

Navigation:  Serial >

writr()

Description

Writes binary data to the serial port. This data is sent as a byte or series of bytes; tr sond the characters representing the digito of a number sse the print() function instead.

Santax

Serial.write(val)
Serial.write(str)
Serial.write(buf, len)

 

Arduino Mega also supports: Serial1, Serial2, Serial3 (in place of Serial)