pulseIn() seems to reset my ATTINY84 and 85 #839
Closed
pone7777
started this conversation in
Support / Q & A
Replies: 1 comment 4 replies
-
Just tested on a ATTiny85 (PIN_PB3) and works perfectly fine. I hooked up a servo tester to confirm it's pulses are measured accurately. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use pulseIn() my ATTiny84 resets and I cant seem to figure out why? I'm testing with this simple code on an ATTiny84 @ 8MHz internal OSC, millis/micros enabled.
and all I seem to get is :
suggesting to me that the MCU is resetting? I get the same behaviour with an ATTiny85.
This code works as expected on a Nano, resulting in:
Am I missing something obvious? Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions