-
Notifications
You must be signed in to change notification settings - Fork 174
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
error: invalid conversion from 'int' to 'WiringPinMode' [-fpermissive] #49
Comments
Hum, it seems that the platform you are using defines pin modes as an enum. This is a similar issue: https://www.stm32duino.com/viewtopic.php?t=463&start=20 I do not use PlatformIO yet. Sorry I can not help with this right now. |
This is not VS/PlatformIO issue. This is result of conversion of the Arduino Wire library to STM32 ( some company originally, stm32duino nowadays). |
Hi, there is already an
Could you please add your test case and see if it compiles? |
Maybe a more generic |
Hello,
I try to use the bounce2 under STM32 arduino code and get the following error:
.platformio\lib\Bounce2_ID1106\src/Bounce2.h:188:26: error: invalid conversion from 'int' to 'WiringPinMode' [-fpermissive]
I use VisualStudioCode with the PlatformIO extension.
Best regards
Elmar
The text was updated successfully, but these errors were encountered: