i am doing a project "Clip indicator" for car audio. I already done the hardware but now i have problem with programming...(i am begginer, but i know the basics of java, c itd). I bought Arduino Duemilanove and try all the tutorials but i need your help. I want to read 2 sinus(40Hz) values/voltage from my indicator and devide them with each other. Let's say v1 and v2. And if it goes to 1 LED is ON and if it goes to infinity LED is OFF or print to LCD some message.
v1/v2 --> 1 LED on v1/v2 --> ? LED OFF
Both of values are in range of mV so it's not problem to read with arduino because it has range 0-5V. Please any help how to begin.