Go Down

Topic: LDR with logic pro 9 (midi trigger) (Read 3 times) previous topic - next topic

marco_c

Add more by doing the same thing on a different analog port.
Arduino libraries http://arduinocode.codeplex.com
Parola hardware & library http://parola.codeplex.com

Grumpy_Mike

Adding more LDRs requires differant code. The way your code is at the moment is very inefficient , it is not simply a matter of copy and paste you need to use arrays to get it better.

Mnkyvsalien

Okay guys. Just for an update, the ldr is still working but only in dim settings (doesnt work at all in the morning). Which I'm cool with so long as I can get 5-6 ldrs working.
Had no luck figuring out how the arrays work or printing values.
Just wanna keep this thread going and see it through so any future  project doers can consider this a sure thing.

Mnkyvsalien

Hello. I'm back. Been about 7 months since I tried to finish this project.
Still just have the one ldr working.
I'm thinking the remaining 4, 5 shouldn't be to hard. (stuck in the gamble again!) lol

So I'm looking to ad arrays to the code I've provided above, if anyone can help with that. (I geuss that will be a worthy project for anyone intrested afterwards).

Go Up