-
Notifications
You must be signed in to change notification settings - Fork 5
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
Code compilation problem #32
Comments
without sharing your changes it will be impossible to help. |
I didn't change anything, I took the original file and try to upload it to arduino mega. And then I want to combine it with hassio. When it starts, I want to adjust everything to myself. |
https://github.com/Kirizaki/mysensors/archive/dev.zip unpack it with folders and it must work. |
Oki. I have windows 10, Arduino Mega, Arduino IDE. I downloaded the package from your link, unpacked it, ran gateway.ino (I have MySensors.h and OneButton.h libraries installed) and this is the result: In file included from C:\Users\Pery\Documents\Arduino\mysensors-dev\gateway\gateway.ino:21:0: |
I'm using linux and i don't have this warnings but sketch compiled successfully you can flash it and it will be ok. |
You're brilliant :) Arduino works great. mysensors: And that is the result in hassio: Gateway 0 11 switch.gateway_0_11 Przełącznik |
my configuration looks like this
sketch has built in presentation for hassio |
Hi, I'm trying to upload mysensors 1.6 to the Arduino Mega ( via Arduino IDE) and I get the message:
In file included from C:\Users\Pery\Desktop\Hassio\Mysensor\mysensors-1.6\gateway\gateway.ino:21:0:
c:\users\pery\appdata\local\temp\arduino_build_702272\sketch\automation\automation.hpp: In function 'void setupButtons()':
c:\users\pery\appdata\local\temp\arduino_build_702272\sketch\automation\automation.hpp:87:54: warning: invalid conversion from 'uint8_t {aka unsigned char}' to 'void*' [-fpermissive]
saloon.attachDoubleClick(clickCallback, SALOON_2_ID);
^
In file included from c:\users\pery\appdata\local\temp\arduino_build_702272\sketch\mapping\mapping.hpp:12:0,
from C:\Users\Pery\Desktop\Hassio\Mysensor\mysensors-1.6\gateway\gateway.ino:20:
C:\Users\Pery\Documents\Arduino\libraries\OneButton\src/OneButton.h:73:8: note: initializing argument 2 of 'void OneButton::attachDoubleClick(parameterizedCallbackFunction, void*)'
void attachDoubleClick(parameterizedCallbackFunction newFunction, void* parameter);
^~~~~~~~~~~~~~~~~
Can you tell me where I am wrong?
The text was updated successfully, but these errors were encountered: