Using Din0 input with interrupt?
Posted: Mon 22. Feb 2016, 02:05
Hello,
I am using a PCAN Router as a gateway but I was wondering if I can use the din0 input with an interrupt? I want to be able to calculate the frequency of pulses on a digital input line (varying from ~2Hz to ~60Hz) and use this as a CAN output.
I checked the manuals but despite referencing that the Din0 is a low active pin I couldn't find out how to interface with it in the firmware.
Thanks for any advice you can offer,
Adam
I am using a PCAN Router as a gateway but I was wondering if I can use the din0 input with an interrupt? I want to be able to calculate the frequency of pulses on a digital input line (varying from ~2Hz to ~60Hz) and use this as a CAN output.
I checked the manuals but despite referencing that the Din0 is a low active pin I couldn't find out how to interface with it in the firmware.
Thanks for any advice you can offer,
Adam