From 74be68efd1693f2e14c22412a61bcc5c5fdfaca0 Mon Sep 17 00:00:00 2001 From: Krzysztof Wicher Date: Fri, 26 Jul 2019 16:09:59 -0700 Subject: [PATCH] Regenerate device listing (#633) --- src/devices/Bmxx80/category.txt | 5 ++++- src/devices/Device-Index.md | 6 +++--- src/devices/README.md | 16 +++++++++++----- src/devices/Rtc/category.txt | 2 ++ src/devices/SoftwareSpi/category.txt | 1 + tools/device-listing/device-listing.cs | 2 ++ 6 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 src/devices/Rtc/category.txt create mode 100644 src/devices/SoftwareSpi/category.txt diff --git a/src/devices/Bmxx80/category.txt b/src/devices/Bmxx80/category.txt index 51fda684..b11aaf9a 100644 --- a/src/devices/Bmxx80/category.txt +++ b/src/devices/Bmxx80/category.txt @@ -1,3 +1,6 @@ barometer altimeter -thermometer \ No newline at end of file +thermometer +voc +gas +hygrometer diff --git a/src/devices/Device-Index.md b/src/devices/Device-Index.md index a7750cd6..ce086bbd 100644 --- a/src/devices/Device-Index.md +++ b/src/devices/Device-Index.md @@ -8,7 +8,7 @@ * [AGS01DB - MEMS VOC Gas Sensor](Ags01db/README.md) * [BH1750FVI - Ambient Light Sensor](Bh1750fvi/README.md) * [BMP180 - barometer, altitude and temperature sensor](Bmp180/README.md) -* [BMxx80 - Digital Temperature, Pressure and Humidity Sensors BMP280/BME280/BME680](Bmxx80/README.md) +* [BMxx80 Device Family](Bmxx80/README.md) * [BNO055 - inertial measurement unit](Bno055/README.md) * [BrickPi3](BrickPi3/README.md) * [Buzzer - Piezo Buzzer Controller](Buzzer/README.md) @@ -16,8 +16,6 @@ * [Cpu Temperature](CpuTemperature/README.md) * [DC Motor Controller](DCMotor/README.md) * [DHTxx - Digital-Output Relative Humidity & Temperature Sensor Module](Dhtxx/README.md) -* [DS1307 - Realtime Clock](Ds1307/README.md) -* [DS3231 - Realtime Clock](Ds3231/README.md) * [GoPiGo3](GoPiGo3/README.md) * [GrovePi](GrovePi/README.md) * [HC-SR04 - Ultrasonic Ranging Module](Hcsr04/README.md) @@ -38,12 +36,14 @@ * [NXP/TI PCx857x](Pcx857x/README.md) * [Pca95x4 - I2C GPIO Expander](Pca95x4/README.md) * [Pca9685 - I2C PWM Driver](Pca9685/README.md) +* [Realtime Clock](Rtc/README.md) * [RGBLedMatrix - RGB LED Matrix](RGBLedMatrix/README.md) * [Sense HAT](SenseHat/README.md) * [Servomotor](Servo/README.md) * [SHT3x - Temperature & Humidity Sensor](Sht3x/README.md) * [Si7021 - Temperature & Humidity Sensor](Si7021/README.md) * [SocketCan - CAN BUS library (Linux only)](SocketCan/README.md) +* [Software implementation of SPI](SoftwareSpi/README.md) * [Software PWM](SoftPwm/README.md) * [Solomon Systech Ssd1306 OLED display](Ssd13xx/README.md) * [TCS3472x Sensors](Tcs3472x/README.md) diff --git a/src/devices/README.md b/src/devices/README.md index 7b02a15d..8bb2c59b 100644 --- a/src/devices/README.md +++ b/src/devices/README.md @@ -26,10 +26,12 @@ Our vision: the majority of .NET bindings are written completely in .NET languag ### Volatile Organic Compound sensors * [AGS01DB - MEMS VOC Gas Sensor](Ags01db/README.md) +* [BMxx80 Device Family](Bmxx80/README.md) ### Gas sensors * [AGS01DB - MEMS VOC Gas Sensor](Ags01db/README.md) +* [BMxx80 Device Family](Bmxx80/README.md) ### Light sensor @@ -40,18 +42,19 @@ Our vision: the majority of .NET bindings are written completely in .NET languag ### Barometers * [BMP180 - barometer, altitude and temperature sensor](Bmp180/README.md) -* [BMxx80 - Digital Temperature, Pressure and Humidity Sensors BMP280/BME280/BME680](Bmxx80/README.md) +* [BMxx80 Device Family](Bmxx80/README.md) * [LPS25H - Piezoresistive pressure and thermometer sensor](Lps25h/README.md) * [Sense HAT](SenseHat/README.md) ### Altimeters * [BMP180 - barometer, altitude and temperature sensor](Bmp180/README.md) +* [BMxx80 Device Family](Bmxx80/README.md) ### Thermometers * [BMP180 - barometer, altitude and temperature sensor](Bmp180/README.md) -* [BMxx80 - Digital Temperature, Pressure and Humidity Sensors BMP280/BME280/BME680](Bmxx80/README.md) +* [BMxx80 Device Family](Bmxx80/README.md) * [Cpu Temperature](CpuTemperature/README.md) * [DHTxx - Digital-Output Relative Humidity & Temperature Sensor Module](Dhtxx/README.md) * [HTS221 - Capacitive digital sensor for relative humidity and temperature](Hts221/README.md) @@ -101,7 +104,7 @@ Our vision: the majority of .NET bindings are written completely in .NET languag ### Hygrometers -* [BMxx80 - Digital Temperature, Pressure and Humidity Sensors BME280/BME680](Bmxx80/README.md) +* [BMxx80 Device Family](Bmxx80/README.md) * [DHTxx - Digital-Output Relative Humidity & Temperature Sensor Module](Dhtxx/README.md) * [HTS221 - Capacitive digital sensor for relative humidity and temperature](Hts221/README.md) * [Sense HAT](SenseHat/README.md) @@ -110,8 +113,7 @@ Our vision: the majority of .NET bindings are written completely in .NET languag ### Clocks -* [DS1307 - Realtime Clock](Ds1307/README.md) -* [DS3231 - Realtime Clock](Ds3231/README.md) +* [Realtime Clock](Rtc/README.md) ### Sonars @@ -178,6 +180,10 @@ Our vision: the majority of .NET bindings are written completely in .NET languag * [Ws28xx LED drivers](Ws28xx/README.md) +### SPI libraries/modules + +* [Software implementation of SPI](SoftwareSpi/README.md) + ## Binding Distribution diff --git a/src/devices/Rtc/category.txt b/src/devices/Rtc/category.txt new file mode 100644 index 00000000..94337571 --- /dev/null +++ b/src/devices/Rtc/category.txt @@ -0,0 +1,2 @@ +rtc +clock diff --git a/src/devices/SoftwareSpi/category.txt b/src/devices/SoftwareSpi/category.txt new file mode 100644 index 00000000..c928c4b7 --- /dev/null +++ b/src/devices/SoftwareSpi/category.txt @@ -0,0 +1 @@ +spi diff --git a/tools/device-listing/device-listing.cs b/tools/device-listing/device-listing.cs index cefb5e5c..00e8f845 100644 --- a/tools/device-listing/device-listing.cs +++ b/tools/device-listing/device-listing.cs @@ -46,6 +46,7 @@ namespace Iot.Tools.DeviceListing "joystick", "color", "led", + "spi", }; static Dictionary s_categoriesDescriptions = new Dictionary() @@ -79,6 +80,7 @@ namespace Iot.Tools.DeviceListing { "touch", "Touch sensors" }, { "wireless", "Wireless communication modules" }, { "pwm", "PWM libraries/modules" }, + { "spi", "SPI libraries/modules" }, { "joystick", "Joysticks" }, { "color", "Color sensors" }, { "led", "LED drivers" }, -- GitLab