arduino = new Arduino(this, Arduino.list(), 57600);arduino.pinMode(0, Arduino.INPUT);
text("Sensor Reading: " + arduino.analogRead(0), width/20, height/2);
In setup, I initiate the arduino and set the pin mode:
I feel like I have tried all the combinations of possible parameters - is there some setup step I am missing?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16