arduino / ArduinoCore-megaavr

Arduino Core for the ATMEGA4809 CPU
103 stars 62 forks source link

Fix timing bug in pulseIn() #76

Open SpenceKonde opened 3 years ago

SpenceKonde commented 3 years ago

Timeout ticked by at 16/11ths of the specified speed prior to the beginning of the pulse being measured (and, as far as I can tell, always has!)

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.