Skip to content

Libaries needed in arduino IDE #10

Answered by Jeroen88
bwired-nl asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Pieter, I do not understand your question exactly? The obvious answer is: all those libraries are needed.

Maybe this is what you are looking for:

  • If you compile using the Arduino IDE you can omit <Arduino.h> (but it will be added by the Arduino IDE itself). I believe that if you use PlatformIO it needs to be included explicitly
  • You may omit <WiFi.h> but it will be included by <WiFiClientSecure.h> (or WiFiClient.h> if you adapted the program for this)
  • You may omit <time.h> if you do not use a <WiFiClientSecure.h> TLS connection. In this case you must remove the setting of the time zone
  • You may remove <Wire.h>, <Adafruit_sensor.h> and <Adafruit_BME280.h> if you use another way to inform…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jeroen88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants