You can also use a photoresistor as an input device in analog mode with the Arduino running Max MSP and Jitter with Maxuino.
Parts necessary
10K Ohm resistor Arduino UNO Connector wires Photocell (variable resistor)
|
CC Arduino.com diagram of photo resistor and Arduino UNO |
Schematic
|
CC Arduino.com diagram of photo resistor and Arduino UNO |
The code for the analog input for the photo resistor is the same as that for the potentiometer.
|
Copyright Ken Rinaldo |
MAX MSP lessons continue in Chapter 9
|