# Experiencing lots of lag

**URL:** https://discourse.processing.org/t/experiencing-lots-of-lag/13387
**Category:** Electronics (Arduino, etc.)
**Created:** [August 15, 2019, 12:57am UTC](https://discourse.processing.org/t/experiencing-lots-of-lag/13387 "2019-08-15T00:57:47Z")
**Posts on this page:** 1
**Showing post:** 8

<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: [August 15, 2019, 1:55am UTC](https://discourse.processing.org/t/experiencing-lots-of-lag/13387/8 "2019-08-15T01:55:07Z")

</div>

> [@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/experiencing-lots-of-lag/13387)._
