Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Arduino Counter outputs only 1 and 3

Status
Not open for further replies.

dann11

Full Member level 3
Joined
Oct 22, 2015
Messages
166
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,742
Hi! I am writing a program code in arduino, it will function as a counter. As I do Serial.println with the counter it only outputs 1 and 3.

I am simply using codes as:

Code:
count = count + 1;

I am using the same formula with some of the other counter but the rest are working perfectly well except for this counter, which only outputs 1 and 3.

What might be wrong?
 

And what is the rest part of the code? Show all code.
The first thought is you modify count somewhere else.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top