# How to read the value of each sensor from the Arduino

**URL:** <https://discourse.processing.org/t/how-to-read-the-value-of-each-sensor-from-the-arduino/36914>\
**Category:** Processing.py\
**Created:** [May 17, 2022, 8:37am UTC](https://discourse.processing.org/t/how-to-read-the-value-of-each-sensor-from-the-arduino/36914 "2022-05-17T08:37:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [May 17, 2022, 10:34pm UTC](https://discourse.processing.org/t/how-to-read-the-value-of-each-sensor-from-the-arduino/36914/5 "2022-05-17T22:34:14Z")

</div>

> [@glv](#):
>
> `myPort.bufferUntil(0x0A) `

You can replace literal `0x0A` w/ constant [ENTER](http://processing.github.io/processing-javadocs/core/processing/core/PConstants.html#ENTER):  
`myPort.bufferUntil(ENTER) `

BtW, I recommend taking a look at my Java Mode sketch example too:

> [@Using two different readStringUntil "characters"](https://discourse.processing.org/t/using-two-different-readstringuntil-characters/10769/6):
>
> The solution I gave on that link expects the Arduino C code to send the multi-data as if they were a row of tab-separated values (TSV): face_with_monocle That is, each value is followed by a \t character; except last 1, which is followed by an \n instead: nerd_face Serial.print(temperature); Serial.write('\t'); Serial.print(masse); Serial.write('\t'); Serial.print(humidite); Serial.write('\t'); Serial.print(comptage); Serial.write('\t'); Serial.println(son); // implies '\n' At the Pro…

---

_[View the full topic](https://discourse.processing.org/t/how-to-read-the-value-of-each-sensor-from-the-arduino/36914)._
