# How do I use Processing to read and write data to an Arduino

**URL:** https://discourse.processing.org/t/how-do-i-use-processing-to-read-and-write-data-to-an-arduino/21113
**Category:** Electronics (Arduino, etc.)
**Created:** [May 20, 2020, 7:58pm UTC](https://discourse.processing.org/t/how-do-i-use-processing-to-read-and-write-data-to-an-arduino/21113 "2020-05-20T19:58:23Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [June 10, 2020, 10:43pm UTC](https://discourse.processing.org/t/how-do-i-use-processing-to-read-and-write-data-to-an-arduino/21113/14 "2020-06-10T22:43:09Z")

</div>

Yes – just paste it into PDE and try it!

```auto
String s = "Foo";
s = "Bar";
print(s);

```

> Bar

---

_[View the full topic](https://discourse.processing.org/t/how-do-i-use-processing-to-read-and-write-data-to-an-arduino/21113)._
