Yesterday I connected an LDR to my Bela, much like the FSR in the "Pd analog in" example.
I have an idea to make a patch that uses LDR's connected to the 8 analog inputs of my Pepper.
this is what I found on the site:
connect one leg of the LDR to 3.3V
connect the other leg of the LDR to analog input 1
connect one leg of a 10KOhm resistor to this leg of the LDR as well
connect the other leg of the resistor to ground
What would be a good way to wire this for the pepper minijack inputs?
Can I use 5V or rather 3.3V?
Would it be OK to get 3V from two AA batteries?
And / or can all 8 LDR's be connected to one and the same 3V source?
I suppose ground can be the minijack ground.