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

Non-const error #16

Open
MoesLab opened this issue Jan 25, 2021 · 2 comments
Open

Non-const error #16

MoesLab opened this issue Jan 25, 2021 · 2 comments

Comments

@MoesLab
Copy link

MoesLab commented Jan 25, 2021

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
Copy link
Author

MoesLab commented Jan 25, 2021

can this be modified for Json V6.x?

@maxgerhardt
Copy link

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

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

2 participants