Arduino Workshop, Part 4

Honestly, i missed the first part – i just arrived when the first example was finished: basically the job was to change the blinking frequency according to the value received by the potentiometer (or any other variable resistor) => arduino file

So now we’re starting to use the arduino to pass values to processing and change the displayed image. Therefore we change the ” Serial.println(inputPin)” which would print the received value and change it to “serial.print (val,BYTE)” which will sore the received value in a Byte (0-255) which can then be read by processing. In processing we us this value to define the parameters of a rectangle in processing. => arduino file => processing file

0 Responses to “Arduino Workshop, Part 4”

  • No Comments

Leave a Reply

Recent Tweets

Creative Commons License