chipKIT® Development Platform

Inspired by Arduino™

Input Capture & ChipkitUNo32 pin#5 as Output

Created Mon, 12 May 2014 19:08:49 +0000 by Roberto_C


Roberto_C

Mon, 12 May 2014 19:08:49 +0000

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