device input help

hi i have an RF device that has 8 triggers on it when the trigger is off the pin is low when it is on the trigger send 3V to the pin. what is the best way to interface this with an arduino Mega sould i connect it to an analog pin or a digital pin

when the pin on the mega receives the 3V i want it to perform an action the RF device is powered from the mega 3V supply

when the trigger is off the pin is low when it is on the trigger send 3V to the pin.

If the values are 0 or 3, with nothing in between, the device is not an analog device.

when the pin on the mega receives the 3V i want it to perform an action the RF device is powered from the mega 3V supply

And the problem is?

Hello,

You should connect it to a digital input. The arduino will read a HIGH if there is more than 2.4V at the input (as far as I remember).

Can use any pin, analog or digital. Either way, read with digitalRead()

ok thanks guys
and PaulS there is no problem i just wanted to check. better safe than sorry. not everyone has the great knowledge that you have ..

thanks for the reply guys