Pages: [1]   Go Down
Author Topic: Help with Counter  (Read 295 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 285
Posts: 25623
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
. But I want to look at one number/register not 1,2,3,4,5,...etc .
Can you explain, please?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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   
Logged

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: