Trigger an image in interactive installation “sensor input cannot be resolved as a variable”

pls check out the structure used here:
https://processing.org/reference/libraries/serial/serialEvent_.html

String[] SensorInput= split(serial, ‘,’);
if (SensorInput >= 1000){

a string array can not be compared with a number
as you not send “,” by arduino ( possibly later make longer CSV lines )
you can try

if ( int(SensorInput[0]) >= 1000)
1 Like