I'm new to the world of Arduino programming and programming in general, but am trying to learn as much as I can. What I want an Arduino to do is count the number of pulse (square wave @ .5Hz to 2Hz max) received and display it on an LCD. I want this total to be reset when another pulse(square wave @ .2Hz to .01Hz) is received on a second input. The process then needs to then start over when the reset pulse is received. I'll be using an Arduino Mega. Is it possible to keep a serial port available to connect to a computer? I evenually want the value shown on the LCD to also be sent to my desktop computer.
Can someone point me to any example code that might be close to what I'm trying todo?
Any and all help is greatly appreciated as I'm new to this!