Processing to read Arduino

Thank you for the answer. I double checked on the COM port, the BAUD rates and on the delay however unfortunately the issue stays the same. Processing still doesn’t recognise the sensor changes from Arduino.