Help with Counter

Just started working with Arduino, I need to count inputs. But I want to look at one number/register not 1,2,3,4,5,...etc . I tried making some changes to the ButtonState sketch,with no luck. Can someone point me in the right direction?

Your help will be most appreciated

jbrock237

. But I want to look at one number/register not 1,2,3,4,5,...etc .

Can you explain, please?

Thanks AWOL for your response... I'll try again When I view the Serial Monitor I see 1,2,3,4,5,6.... In the past I would use several 7 segment display and count Up. Maybe I'm over looking something simple here. I just wane to to view one number changing states not a page of numbers.

Thanks again

JB

The serial monitor basically sucks. You send serial digits, and it displays them.

If you want anything better then you will need to use a different program to display the serial data - one that handles (for example) VT100 escape codes. You can then send those escape codes to move the cursor around the screen and replace an existing number with a new one.

Alternatively, maybe you should look in to attaching a 7 segment display, or LCD display instead.

Thanks for your help... I'll try using the LCD