Skip to content

No compatible with ATMEGA4809 based boards (NANO_EVERY, etc.) #13

@J-R-V

Description

@J-R-V

The library works with Arduino Nano and Teensy (AVR/ARM) but not with EVERY boards (MEGAAVR).
When compiling, following error is given...

In file included from Arduino\libraries\SoftPWM\SoftPWM.cpp:44:0:
Arduino\libraries\SoftPWM\SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
Arduino\libraries\SoftPWM\SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
TIFR2 = (1 << TOV2); /* clear interrupt flag */ \

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