# Save Data from Arduino to .txt with Processing

**URL:** <https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [June 18, 2019, 10:38am UTC](https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144 "2019-06-18T10:38:42Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [June 19, 2019, 1:08pm UTC](https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144/7 "2019-06-19T13:08:23Z")

</div>

> [@arpe](#):
>
> , which I get from the Arduino (3 values) into several variables so I can storage them into my table?

> [@Using two different readStringUntil "characters"](https://discourse.processing.org/t/using-two-different-readstringuntil-characters/10769/17):
>
> Well, I don’t have any Arduino hardware and neither even seen 1 in front of me yet! woozy_face So I can only do blind coding in the dark for you. dark_sunglasses Theoretically, an Arduino C code like this 1: thinking void setup() { Serial.begin(115200); } void loop() { const int x = map(analogRead(A1), 0, 1023, -10, 10); const int y = map(analogRead(A0), 0, 1023, -10, 10); Serial.print(x); // "-5" Serial.write('\t'); // '\t' Serial.println(y); // "10" + "\r\n" delay…

---

_[View the full topic](https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144)._
