AVR and bluetooth C code problem! help !

Hello,

have to write a code C code for my bluetooth. my inputs are 4 signals , 2 dc and 2 ac signals, coming from 2 lights, red and infra red. I have to write a code to feed my bluetooth. Like how fast it shud sample the signals and in what order, (kinda AD converter code) but i dont know anything about programming . Could you please help or tell me where can I find sample codes. thanks :frowning:

the AVR is : AVR- ATMEL, AVRATJTAGICE_MKii. 10-pin , the data should later be read by LabView.

Ask the Prof. or T.A.