# Serial Write - print more than one byte?

**URL:** https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159
**Category:** Electronics (Arduino, etc.)
**Created:** [June 18, 2019, 3:56pm UTC](https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159 "2019-06-18T15:56:04Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [June 18, 2019, 4:31pm UTC](https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159/2 "2019-06-18T16:31:25Z")

</div>

[https://processing.org/reference/libraries/serial/Serial\_write\_.html](https://processing.org/reference/libraries/serial/Serial_write_.html)

If you are sending strings it needs to be double quotes.

Stick to single characters for now until you can handle a string at the receiving end (Arduino).

```auto
port.write("LED"); //sends ASCII characters for 'L', 'E' and 'D'.
port.write('\r'); //send an ASCII character 10 (value)
// port.write(13); // same as port.write('\r');

```

You will have to send a delimiter (terminating character) such as ‘\r’ after to indicate where the string ends and check for this on Arduino side.

Sorry about edits… intermittent fasting today and should not be sending posts.

🙂

---

_[View the full topic](https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159)._
