practicalarduino / SHT1x

Arduino library to support SHT1x-series (SHT10, SHT11, SHT15) temperature / humidity sensors from Sensirion
http://www.practicalarduino.com/
153 stars 118 forks source link

PlatformIO Library Manager manifest file #9

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 by the different tools/managers to organise embedded libraries. How does this look from CLI:

$ platformio lib search "sht*"
# Found ... libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
# [ 86  ] SHT1x         arduino, atmelavr     “Practical Arduino - The Book": Provides a simple interface to the SHT1x series (SHT10, SHT11, SHT15) and SHT7x series (SHT71, SHT75) temperature / humidity sensors from Sensirion

$ platformio lib install 86
# Installing [ 86 ]  library:
# Downloading  [####################################]  100%
# Unpacking  [####################################]  100%
# The library  [ 86  ] ‘SHT1x' has been successfully installed!

$ platformio lib show 86
# SHT1x
# -------------
# Author: Practical Arduino - The Book
# Keywords: /////////
# Frameworks: arduino
# Platforms: atmelavr
# Version: ***
#
# Provides a simple interface to the SHT1x series (SHT10, SHT11, SHT15) and SHT7x series (SHT71, SHT75) temperature / humidity sensors from Sensirion

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