# Intermittent ArrayIndexOutOfBoundsException reading thermopile over serial

**URL:** <https://discourse.processing.org/t/intermittent-arrayindexoutofboundsexception-reading-thermopile-over-serial/32361>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [September 22, 2021, 2:55am UTC](https://discourse.processing.org/t/intermittent-arrayindexoutofboundsexception-reading-thermopile-over-serial/32361 "2021-09-22T02:55:03Z")\
**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:** [September 22, 2021, 1:53pm UTC](https://discourse.processing.org/t/intermittent-arrayindexoutofboundsexception-reading-thermopile-over-serial/32361/4 "2021-09-22T13:53:51Z")

</div>

Hello @The_Wolf_of_Walmart,

Take a look here:  
[https://discourse.processing.org/t/heatcam-examples-please-help/29390/4](https://discourse.processing.org/t/heatcam-examples-please-help/29390/4)

I had the same reaction (below) to this as I did in my post above!

> [@HeatCam examples .... Please help!](https://discourse.processing.org/t/heatcam-examples-please-help/29390/4):
>
> That is a lot of zeroes!
> 
> ```auto
> //float[] temps = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
> float[] temps = new float [64];
> printArray(temps);
> 
> ```
> 
> `:)`

Have fun!

`:)`

---

_[View the full topic](https://discourse.processing.org/t/intermittent-arrayindexoutofboundsexception-reading-thermopile-over-serial/32361)._
