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 error: exit status 1 with this WizFi library, also using #10

Open
EklundJL opened this issue Jan 1, 2023 · 0 comments
Open

Comments

@EklundJL
Copy link

EklundJL commented Jan 1, 2023

In file included from c:\Users...\Arduino\libraries\WizFi360_arduino_library-main\src\lwmqtt\client.c:1:
C:\Users...\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.0\cores\rp2040/Arduino.h:76:33: error: expected ';', ',' or ')' before '=' token
76 | float analogReadTemp(float vref = 3.3); // Returns core temp in Centigrade

exit status 1
Compilation error: exit status 1

*using this simple code
#include <WizFi360.h>
#include <WizFi360Client.h>
#include <WizFi360Mqtt.h>
#include <WizFi360MqttClient.h>
#include <WizFi360Server.h>
#include <WizFi360Udp.h>
void setup() {
// put your setup code here, to run once:
}

void loop() {
// put your main code here, to run repeatedly:
}


Using Windows 10 Pro, Version 10.0.19045 Build 19045 (up to date)
Arduino IDE 2.0.3, newest libraries from https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json, your zip file library from here which you updated 2 weeks ago.

Does this compile for you? When I remove the WizFi libraries, it compiles with no errors.

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