this is my first forum question… I have to build a computer that will:
- count low pulses ( from inductive proximity sensor npn no ) from 0 to 400Hz
- register pushbutton event on hardware interrupt
- send some info via serial port
the thing is that I’m afraid that if I will count low impulses with interrupts, those will cause problems with serial communication when impulses will be about 350-400Hz.
I’ve read somewhere that it is possible to connect external clock to timer1 and use this timer as a counter. Is it possible to connect this npn no sensor as external clock signal?
thanks in advance!