# Arduino To Processing Error For Capactive Sensor

**URL:** <https://discourse.processing.org/t/arduino-to-processing-error-for-capactive-sensor/15781>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [November 24, 2019, 9:36pm UTC](https://discourse.processing.org/t/arduino-to-processing-error-for-capactive-sensor/15781 "2019-11-24T21:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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:** [November 25, 2019, 12:42am UTC](https://discourse.processing.org/t/arduino-to-processing-error-for-capactive-sensor/15781/17 "2019-11-25T00:42:57Z")

</div>

> [@Using two different readStringUntil "characters"](https://discourse.processing.org/t/using-two-different-readstringuntil-characters/10769):
>
> Hello. I am not sure what to call the value inside the bufferUntil, but as my title implies I need to use two different characters, rather than just the newline (\n). Is it possible that, inside the serialEvent() function, I have something like ... void serialEvent(Serial port){ x = float(port.readStringUntil("X")); y = float(port.readStringUntil("Y")) } //statements ... where the values from serial look something like: (note: for the sake of using the values for Processing, I appende…

---

_[View the full topic](https://discourse.processing.org/t/arduino-to-processing-error-for-capactive-sensor/15781)._
