[ ] I have thoroughly tested my contribution. (impossible to test before the next release is made and has been picked up by the Library Manager indexer)
\<Description of and rationale behind this PR>
Specifying the library dependencies in the depends field of library.properties causes the Arduino Library Manager (Arduino IDE 1.8.10 and newer) to offer to install any missing dependencies during installation of this library.
arduino-cli lib install will automatically install the dependencies (arduino-cli 0.7.0 and newer).
NOTE: I did not add the ESP8266 and ESP32 OLED driver for SSD1306 displays library because this is not a dependency of the library, but only the library's example sketches. However, if you prefer to also add dependencies for the example sketches, I'm happy to update this PR accordingly.
\<Description of and rationale behind this PR> Specifying the library dependencies in the
depends
field of library.properties causes the Arduino Library Manager (Arduino IDE 1.8.10 and newer) to offer to install any missing dependencies during installation of this library.arduino-cli lib install
will automatically install the dependencies (arduino-cli 0.7.0 and newer).Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#libraryproperties-file-format
NOTE: I did not add the
ESP8266 and ESP32 OLED driver for SSD1306 displays
library because this is not a dependency of the library, but only the library's example sketches. However, if you prefer to also add dependencies for the example sketches, I'm happy to update this PR accordingly.