Change pin asignment in Librari (can't fint it)

elp
smile-humørikon

I have a problem, with the following.
Arduino Uno.
DF Robot LCD Keypad Shield
and a Microchip " CD74HC14E

the projekt is : measure Hz and print it on the LCD display.
Is is all running with a normal LCD display.
But I have a pin problem with the new lcd display. Because it is a shield, I can’t decide the pin connection myself. and the library i’m using for the Hz mesurement is using one of the same pins, and I can’t figure out how to change this.
The lcd display is using pin : lcd(8, 9, 4, 5, 6, 7);
and the Microchip input using pin 5 according to the library.

http://www.pjrc.com/teensy/td_libs_FreqCount.html

LIBERICODE : http://www.pjrc.com/teensy/arduino_libraries/FreqCount.zip

Arduinno Board :Arduino Uno

Input Pin : 5

Pins Unusable with analogWrite() : 3, 9, 10, 11

can somebody please give me a clue ? how to change it to another pin.

FreqCount (2).zip (7.43 KB)

Alas it's not that simple. The library uses the timer1 input pin (T1) to count pulses and it is a hard coded function of pin 5 on the UNO. You could cut the pin off the shield going to pin 5 on the UNO and solder a wire on the shield to a free pin and then alter the LCD code.

Thank you for a quick answer. Nice to know that it is hard coded, I was starting to get frustrated.

well I will try your solution. Thanks again