Frequency Counter

Solved. I was accidentally sending ± signal to arduino. Vertical shift up fixed the issue.