Skip to content

Hardware Timer #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ats3788 opened this issue Jun 5, 2020 · 1 comment
Closed

Hardware Timer #47

ats3788 opened this issue Jun 5, 2020 · 1 comment
Labels
invalid This doesn't seem right

Comments

@ats3788
Copy link

ats3788 commented Jun 5, 2020

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

@fpistm
Copy link
Member

fpistm commented Jun 5, 2020

Yes API has changed with 1.9.0.
See stm32duino/Arduino_Core_STM32#892

Why open an issue here? This is not related to STM32 Ethernet.
For this kind of issue or support, please use the forum: https://www.stm32duino.com

@fpistm fpistm closed this as completed Jun 5, 2020
@fpistm fpistm added the invalid This doesn't seem right label Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants