Closed ivankravets closed 3 years ago
library.json
is a library manifest file which can be used with different tools/managers to organise embedded libraries. Currently, only PlatformIO uses it. How does this look from CLI:
$ platformio lib search --framework="arduino" PCD8544
# Found N libraries:
#
# [ ID ] Name Compatibility "Authors": Description
# -------------------------------------------------------------------------------------
# [ 81 ] Adafruit-PCD8544 arduino, atmelavr "Adafruit Industries": Arduino driver for PC8544, most commonly found in small Monochrome Nokia 5110
# ...
$ platformio lib install 81
# Installing library [ 81 ]:
# Downloading [####################################] 100%
# Unpacking [####################################] 100%
# The library #81 'Adafruit-PCD8544' has been successfully installed!
# Installing dependencies:
# Installing library [ 13 ]:
# Downloading [####################################] 100%
# Unpacking [####################################] 100%
# The library #13 'Adafruit-GFX' has been successfully installed!
$ platformio lib show 81
# Adafruit-PCD8544
# ----------------
# Authors: Adafruit Industries https://github.com/adafruit
# Keywords: display, lcd
# Frameworks: arduino
# Platforms: atmelavr
# Version: 32ca9ca739
#
# Arduino driver for PC8544, most commonly found in small Monochrome Nokia 5110
$ platformio lib update
# Updating Adafruit-PCD8544 library:
# Versions: Current=***, Latest=*** [Up-to-date]
closing as now handled via arduino library manager!