arduino+processing=proplem

i change the sensor value to 3 and send it to the serial
the procesing give me a unstable number
afther i add a delay of 500ms to arduino and the processing give me a 10 but in a few second is move to a very fast 3 or 50 and back to 10
thanks for repaly :slight_smile: