Processing Forum
I'm trying to et the Processing sketch to read Serial input from an Arduino PhotoCell sensor. The Arduino is sending readings from 1-100. The Processing Sketch is working. It is getting something from the serial read but the numbers coming in are very different (7,53,13, 57, 48, 13, 10, 57, 53, 13, 10, 49, 48, 48, 13, 10, 49, 48, 48, 13)…..
Can anyone help me understand how to get the Processing sketch to read the numbers that are coming from the Arduino exactly. I plan to eventually make the processing sketch load then fade and remove images when they are within a particular range from the sensor .
Arduino
Processing Code (……so far)