# Different behaviour between Processing and Arduino Serial Monitor

**URL:** <https://discourse.processing.org/t/different-behaviour-between-processing-and-arduino-serial-monitor/26973>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [January 11, 2021, 1:11pm UTC](https://discourse.processing.org/t/different-behaviour-between-processing-and-arduino-serial-monitor/26973 "2021-01-11T13:11:44Z")\
**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:** [January 12, 2021, 3:12pm UTC](https://discourse.processing.org/t/different-behaviour-between-processing-and-arduino-serial-monitor/26973/4 "2021-01-12T15:12:21Z")

</div>

> [@kodibeni](#):
>
> However, the buttons still not work.

I did have issues with buttons as well and it only worked here while connected to the Arduino.

I will explore later today…

I am not a CP5 user but may explore this further.

A related post without CP5:

> [@Processing to Arduino Serial Library Example](https://discourse.processing.org/t/processing-to-arduino-serial-library-example/11143/5):
>
> I modified the existing “SimpleWrite” example to: save and check for the state of mouseOverRect() print state to console only writes serial data once a delay() to wait for Arduino to reset once connected to it; in my case, it is an Arduino Mega 2560 R3. I kept the spirit of the original example intact and left it as a “Simple Write” program. My edit of “SimpleWrite” example so it only sends data once: /\*\* \* Simple Write. \* \* Check if the mouse is over a rectangle and writes the status …

Sometimes it helps to isolate the problem.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/different-behaviour-between-processing-and-arduino-serial-monitor/26973)._
