# Comparing serial Arduino inputs with Strings in if-statements don´t work

**URL:** https://discourse.processing.org/t/comparing-serial-arduino-inputs-with-strings-in-if-statements-don-t-work/30791
**Category:** Electronics (Arduino, etc.)
**Created:** [June 19, 2021, 8:26am UTC](https://discourse.processing.org/t/comparing-serial-arduino-inputs-with-strings-in-if-statements-don-t-work/30791 "2021-06-19T08:26:09Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [June 19, 2021, 10:55am UTC](https://discourse.processing.org/t/comparing-serial-arduino-inputs-with-strings-in-if-statements-don-t-work/30791/4 "2021-06-19T10:55:49Z")

</div>

Hello @Simon44,

Here is a topic that may be of interest to you:  
_[Need assistance reading sequential inputs from arduino serial](https://discourse.processing.org/t/need-assistance-reading-sequential-inputs-from-arduino-serial/20368)_

You will find that there are many topics on this.

Serial communication can be a challenge at first but once you master it the _world is your oyster_… at least your code will be.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/comparing-serial-arduino-inputs-with-strings-in-if-statements-don-t-work/30791)._
