Not sure what is going on ?! #1198
Unanswered
coderatchance
asked this question in
Q&A
Replies: 1 comment
-
Whatever the problem is, I don't think it is your code which looks fine to me. For good measure, I ran it on an attiny 1617, and the first column resets after 255 as expected. Is your board is resetting every time at exactly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
The code below adds 1 to 0 in three different variable types..
"counting" is printed in the main loop.
However, why is this abruptly "reseted" every 165 counts?
Serial print output:
159 159 159
160 160 160
161 161 161
162 162 162
163 163 163
164 164 164
165 165 165
Ò1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6
7 7 7
8 8 8
9 9 9
10 10 10
11 11 11
12 12 12
13 13 13
Wondering what is going on?
Should not the loop run indefinitely, actually till the variable can be read, store the value?
Best.
Beta Was this translation helpful? Give feedback.
All reactions