Input Capture & ChipkitUNo32 pin#5 as Output

Talk about anything you want!
Post Reply
Roberto_C
Posts: 1
Joined: Mon May 12, 2014 6:48 pm

Input Capture & ChipkitUNo32 pin#5 as Output

Post by Roberto_C » Mon May 12, 2014 8:08 pm

Hi,
i have developped a program (Chipkit UNO32 & MPIDE) which uses the Input Capture 1:

OpenCapture1(IC_SP_EVERY_EDGE | IC_TIMER2_SRC | IC_FEDGE_RISE | IC_ON);

and use the pin 8 as output: pinMode(8,OUTPUT);

and all work fine.

Due to PCB problems I moved only the signal from the pin 8 to the pin 5: pinMode(5,OUTPUT);

At this point the input Capture don't work.

Any suggestion ?
Thank you in advance for your help.
Roberto

Post Reply