# Unable to form communication between processing and arduino

**URL:** https://discourse.processing.org/t/unable-to-form-communication-between-processing-and-arduino/1771
**Category:** Electronics (Arduino, etc.)
**Created:** [July 14, 2018, 8:05pm UTC](https://discourse.processing.org/t/unable-to-form-communication-between-processing-and-arduino/1771 "2018-07-14T20:05:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ayesha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ayesha/32/754_2.png) [@ayesha](https://discourse.processing.org/u/ayesha)
#### Post date: [July 14, 2018, 8:05pm UTC](https://discourse.processing.org/t/unable-to-form-communication-between-processing-and-arduino/1771/1 "2018-07-14T20:05:01Z")

</div>

I am trying to form serial communication between arduino and processing. I am trying the simple code of hello world but it is not working on processing. I am getting ArrayIndexOutOfBoundsException: 1. Please help, I need this software badly for my project.

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [July 15, 2018, 7:58am UTC](https://discourse.processing.org/t/unable-to-form-communication-between-processing-and-arduino/1771/2 "2018-07-15T07:58:26Z")

</div>

> [@ayesha](#):
>
> I am getting ArrayIndexOutOfBoundsException

The error is very clear. You need to share your code, both the ino and the Processing one, and provide details of your setup. The more information (and only relevant) you provide, the easier is to assist. Also don;t forget to check the arduino.cc forum.

Kf

---

<div class="post-metadata">

### Author: ![matheplica](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/matheplica/32/21035_2.png) [@matheplica](https://discourse.processing.org/u/matheplica)
#### Post date: [July 17, 2018, 9:23am UTC](https://discourse.processing.org/t/unable-to-form-communication-between-processing-and-arduino/1771/3 "2018-07-17T09:23:16Z")

</div>

There is a very handy library that I use always when I work with processing and arduino :  
[VSync](http://erniejunior.github.io/VSync-for-Processing/)
