Skip to content
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

Compilation failure #97

Open
HiFiJ opened this issue Mar 21, 2020 · 0 comments
Open

Compilation failure #97

HiFiJ opened this issue Mar 21, 2020 · 0 comments

Comments

@HiFiJ
Copy link

HiFiJ commented Mar 21, 2020

Hi RocketScream,

thanks very much for your work with this library!!
I would like to use it in conjunction with MySensors (current version 2.3.2) mysensors.org, but am experiencing a "fatal" compilation error:

libraries/Low-Power-master/LowPower.cpp.o (symbol from plugin): In function >LowPowerClass::idle(period_t, adc_t, timer2_t, timer1_t, timer0_t, spi_t, usart0_t, twi_t)': (.text+0x0): multiple definition of __vector_6'
sketch/sensor_mysensor.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1`

I am using your lib together with VS-Code / PlatformIo for an Arduino Pro Mini. MySensors includes an own implementation of the sleep() method, but your lib seems to be the only way to get sleep working together with pin change interrupt and timer interrupt waking.

Thanks for any help,

Joost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant