You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I also confirm this with other mod values like 26, 33 etc. and I'm sure the values are there but serial output slows down the CPU so much that I can't print every value in real-time.
My question: is there a quicker way to print these values to serial console than using ufmt::uwriteln!() which seems to be on the slower side? asm perhaps?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I run the timer0 on 328p in normal mode with 1024 prescaler to get 15625 ticks periods.
The serial output skips some of the values:
When I lower the printing freq I get a somewhat more adept result:
And finally if I lower the resolution with
% 20
even further, I get a consistent result:And I also confirm this with other mod values like 26, 33 etc. and I'm sure the values are there but serial output slows down the CPU so much that I can't print every value in real-time.
My question: is there a quicker way to print these values to serial console than using
ufmt::uwriteln!()
which seems to be on the slower side? asm perhaps?Beta Was this translation helpful? Give feedback.
All reactions