Skip to content

MLXHeatCam Array Error #13

Description

@tmsd2001

When I use the processing sketch (MLXHeatCam.pde) I get an Error:
ArrayIndexOutOfBoundsException: 687
If I use the debug tool and start each frame by hand, there is no Error.
I fix this Error with change Line 96 and 108 to:
for(int q = 0; q < splitString.length; q++){
I use the cam indoor Temp from 24°C to 38°C.
If I change the location to outdoor, Temp from 2°C to 15°C I get the other Error on Line 113:
ArrayIndexOutOfBoundsException: 768
This Error I fix with change Line 96 and 108 to:
for(int q = 0; q < (splitString.length - 1); q++){
I thing this cames from the last "," in the "myString" variable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions