Skip to content

pulseIn() 21 cycles must be reevaluated with Arduino 1.5.8 #2538

Closed
@jmparatte

Description

@jmparatte

Hi, I'm playing with Arduino UNO and Seeeduino Lite (Leonardo equivalent), compiling with Arduino 1.5.8. I've observed that the measured pulse is about 20% shorter than expected. Examining the code, I count 25 cycles rather the 21 cycles produced with Arduino 1.0.6.
My forum thread: http://forum.arduino.cc/index.php?topic=290248.0

Metadata

Metadata

Assignees

Labels

Component: CoreRelated to the code for the standard Arduino APIType: RegressionSomething that used to work and now doesn't

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions