AzureIoTHubMQTTClient icon indicating copy to clipboard operation
AzureIoTHubMQTTClient copied to clipboard

Non-const error

Open MoesLab opened this issue 4 years ago • 2 comments

Hi There, I am compiling the code in VS code for platform IO, and there are a bunch of errors can you look at this pic and tell me how can I correct them, please?

platformio error

MoesLab avatar Jan 25 '21 06:01 MoesLab

can this be modified for Json V6.x?

MoesLab avatar Jan 25 '21 06:01 MoesLab

Works for me with the versions

Dependency Graph
|-- <Adafruit BusIO> 1.7.2
|   |-- <Wire> 1.0
|   |-- <SPI> 1.0
|-- <Adafruit BMP085 Library> 1.2.0
|   |-- <Adafruit BusIO> 1.7.2
|   |   |-- <Wire> 1.0
|   |   |-- <SPI> 1.0
|   |-- <Wire> 1.0
|-- <Time> 1.6.0
|-- <ESP8266WiFi> 1.0
|-- <ArduinoJson> 5.13.4
|-- <Ethernet(esp8266)> 1.0.4
|   |-- <SPI> 1.0
|-- <SPI> 1.0

derived from the modified platformio.ini

[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
; this board does not have defaulte SCL and SDA pins for I2C
; and gives compilations errors. --> simply use nodemcu.
;board = espectro
framework = arduino
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH 
lib_deps =
     adafruit/Adafruit BusIO @ ^1.7.2
     adafruit/Adafruit BMP085 Library @ ^1.2.0
     paulstoffregen/Time @ ^1.6

maxgerhardt avatar Jan 29 '21 18:01 maxgerhardt