Skip to content

Hardware Timer #47

Closed
Closed
@ats3788

Description

@ats3788

Hello
I fiddle with the STM32F1 Blue Pill Board and got the Problem with Hardware Timer

src\main.cpp:137:37: error: no matching function for call to 'HardwareTimer::attachInterrupt(void (*)())'

void __Timer1()
{
}
void SetupTimer()
{
Timer1.setPeriod(1000000); // in microseconds = 1 second
Timer1.attachInterrupt(&__Timer1);
Timer1.resume();
}
I read that something changed in Core 1.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions