Skip to content

delayMicroseconds() only correct @ 8MHz (ATtiny85) #12

Closed
@erniberni

Description

@erniberni

Hi,
I just found out that delayMicroseconds() produces only at 8 MHz clock correct values. When flashing the same code on an ATtiny85 with 1 MHz the us-delay is factor 8 too long. The function of delay() is in both cases correct.
Regards
Reinhard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions