adafruit / Adafruit-WS2801-Library

Arduino library for controlling strips/pixels using WS2801 driver chips
http://www.adafruit.com/products/322
187 stars 72 forks source link

PlatformIO Library Manager manifest file #13

Open ivankravets opened 10 years ago

ivankravets commented 10 years ago
ivankravets commented 10 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" WS2801
# Found 1 libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
# [ 80  ] Adafruit-WS2801  arduino, atmelavr     "Adafruit Industries": Arduino library for controlling strips/pixels using WS2801 driver chips

$ platformio lib install 80
# Installing Adafruit-WS2801  library:
# Downloading  [####################################]  100%
# Unpacking  [####################################]  100%
# The library ‘Adafruit-WS2801' has been successfully installed!

$ platformio lib show 80
# Adafruit-WS2801
# -------------
# Author: Adafruit Industries 
# Keywords: rgb, strip, pixel
# Version: ***
#
# Arduino library for controlling strips/pixels using WS2801 driver chips

$ platformio lib update
# Updating Adafruit-WS2801  library:
# Versions: Current=***, Latest=***       [Up-to-date]