Skip to content

Compilation error: exit status 1 with this WizFi library, also using #10

@EklundJL

Description

@EklundJL

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions