GrandAlf
Advanced Member level 2
I have a small project on 12F683 for PWM motor control using timer2 and output on GP2. Now this works fine, but I have a need to attach a IR receiver to read a few simple commands from a remote. Question is, I have GP0,1 and 5 available, can I use any of these pins as input from IR module along with timer1 and interrupts I presume. Will attempting to do this interfere with the PWM output timing? Do you think that this is the correct approach, if not any suggestions most welcome. Also appreciated any snippets of C code that may be useful. Still getting my head round this chip, usually using 16 or 18 devices. Many thanks.