# Timing Problem xxx

**URL:** <https://discourse.processing.org/t/timing-problem-xxx/22180>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [June 26, 2020, 3:29pm UTC](https://discourse.processing.org/t/timing-problem-xxx/22180 "2020-06-26T15:29:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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 26, 2020, 10:12pm UTC](https://discourse.processing.org/t/timing-problem-xxx/22180/3 "2020-06-26T22:12:16Z")

</div>

An example of an issue I had and how I resolved it:

> [@Processing to Arduino Serial Library Example](https://discourse.processing.org/t/processing-to-arduino-serial-library-example/11143):
>
> The SimpleWrite example in the Processing examples was not working on PCs I had available to me. The Arduino resets when establishing a serial connection. I added a delay(1000) to allow the Arduino to reset after serial connection to Processing and it now works. I modified the Processing setup() as follows: void setup() { size(200, 200); printArray(Serial.list()); //Added! List all the available serial ports String portName = Serial.list()[0]; myPort = new Serial(this, portNa…

It may help.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/timing-problem-xxx/22180)._
