From 756634bf52aefffa08f24ea27372378756e0fd9d Mon Sep 17 00:00:00 2001 From: UncleRus Date: Fri, 30 Apr 2021 13:10:48 +0500 Subject: [PATCH 1/3] Release 0.8.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7599adc..9a9f9656 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## v.0.8.0 + +#### Features + +- (wiegand) Wiegand protocol receiver +- (lib8tion) Math functions specifically designed for LED programming (port from FastLED) +- (color) Common library for RGB and HSV colors (port from FastLED) +- (noise) Noise generation functions (port from FastLED) +- (framebuffer) RGB framebuffer and animation component +- (mhz19b) Added support for the MH-Z19B CO2 sensor +- (ci) Dropped support for ESP-IDF < v3.5 +- (ci) Preliminary and untested support for ESP32-C3 +- (ci) Support ESP8266 RTOS SDK v3.3 +- (doc) Added initial version of CONTRIBUTING.md + +#### Bugfixes + +- (sht3x) Fixed documentation +- (ds18x20) Fixed ds18x20_scan_devices(), new example +- (ultrasonic) Added more precise measurement functions +- (led_strip_spi) Fixed SPI buffer limitation for ESP8266 +- (led_strip) Fixed buffer overflow error for RGBW strips +- (led_strip) White component for RGBW strips now calculated automatically +- (led_strip) Fixed bug in led_strip_set_pixels() +- (led_strip) Added support for global brightness for ESP-IDF >= v4.4 +- (refactoring) Updated component makefiles and CMakeLists +- (i2cdev) Added option to disable all mutexes + + ## v.0.7.3 #### Features @@ -13,6 +42,7 @@ - (pca9685) b633f86 Speed-ups - (max7219) #159 Add "minus" sign and fix maximum brightness + ## v.0.7.2 #### Features From 933114d0d1b6592c4628dd366116f4a1581dc7bf Mon Sep 17 00:00:00 2001 From: UncleRus Date: Sat, 1 May 2021 04:31:39 +0500 Subject: [PATCH 2/3] doc: fix markdown in CHANGELOG --- CHANGELOG.md | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a9f9656..1ed36195 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## v.0.8.0 -#### Features +### Features - (wiegand) Wiegand protocol receiver - (lib8tion) Math functions specifically designed for LED programming (port from FastLED) @@ -15,7 +15,7 @@ - (ci) Support ESP8266 RTOS SDK v3.3 - (doc) Added initial version of CONTRIBUTING.md -#### Bugfixes +### Bugfixes - (sht3x) Fixed documentation - (ds18x20) Fixed ds18x20_scan_devices(), new example @@ -28,30 +28,28 @@ - (refactoring) Updated component makefiles and CMakeLists - (i2cdev) Added option to disable all mutexes - ## v.0.7.3 -#### Features +### Features - (led_strip_spi) #156 SPI-based driver for SK9822/APA102 LED strips - (ds3502) #160 Driver for nonvolatile digital potentiometer DS3502 - (sht4x) #165 Driver for SHT4x temperature and humidity sensor -#### Bugfixes +### Bugfixes - (pca9685) b633f86 Speed-ups - (max7219) #159 Add "minus" sign and fix maximum brightness - ## v.0.7.2 -#### Features +### Features - (tsl2591) #149 Driver for light-to-digital converter TSL2591 - (sgp40) #137 Driver for SGP40 Indoor Air Quality Sensor - (ccs811) #67 Driver for AMS CCS811 digital gas sensor -#### Bugfixes +### Bugfixes - (ci) #147 Cache Espressif tools - (ci) #155 Update v4.2 branch @@ -63,15 +61,14 @@ - (doc) Multiple fixes - (pca9685) ce8f3fa Fix possible race condition - ## v.0.7.1 -#### Features +### Features - (mcp960x) #141 Driver + example for MCP960X/L0X/RL0X - (tsys01) #142 Driver + example for TSYS01 -#### Bugfixes +### Bugfixes - (qmc5883l) dd17522 Fix possible race condition - (tca95x5) #144 Copy-paste error, add example @@ -82,7 +79,7 @@ ## v.0.7 -#### Features +### Features - (ina260) #126 Driver for INA260 precision digital current and power monitor - (rda5807m) #25 Driver for single-chip broadcast FM radio tuner RDA5807M @@ -90,21 +87,21 @@ ## v.0.6.1 -#### Bugfixes +### Bugfixes - (ina219) #100 Potential error in ina219_get_gain - (bme680) #121 Pressure calculation for bme680 gives wrong results ## v.0.6 -#### Features +### Features - (ci) #116 Port CI process from Travis CI to GitHub Actions - (ci) Update CI build tools - (ads111x) #117 Support of ADS101x on top ADS111x - (led_strip) #120 Smart LED strips support -#### Bugfixes +### Bugfixes - (ds1307) #110 wrong squarewave frequency returned - (sht3x, hmc5883l, hx711) #118 SHT3x measurements fail after 72min @@ -113,10 +110,10 @@ ## v.0.5-beta -#### Features +### Features - (mcp342x) #92 Driver for ADC MCP3426/MCP3427/MCP3428 -#### Bugfixes +### Bugfixes - (ds1302) #97 Fix critical section exit From 65a243325f9f180b6ed2970ec7bccd0b1d2d1d15 Mon Sep 17 00:00:00 2001 From: UncleRus Date: Sat, 1 May 2021 04:33:43 +0500 Subject: [PATCH 3/3] led_strip: fix stability for WS2812B --- CHANGELOG.md | 1 + components/led_strip/led_strip.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ed36195..6471473f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ - (led_strip) White component for RGBW strips now calculated automatically - (led_strip) Fixed bug in led_strip_set_pixels() - (led_strip) Added support for global brightness for ESP-IDF >= v4.4 +- (led_strip) Improved stability for WS2812B - (refactoring) Updated component makefiles and CMakeLists - (i2cdev) Added option to disable all mutexes diff --git a/components/led_strip/led_strip.c b/components/led_strip/led_strip.c index 4dffa406..909874bc 100644 --- a/components/led_strip/led_strip.c +++ b/components/led_strip/led_strip.c @@ -64,10 +64,10 @@ static const char *TAG = "led_strip"; #define LED_STRIP_RMT_CLK_DIV 2 -#define WS2812_T0H_NS 350 +#define WS2812_T0H_NS 400 #define WS2812_T0L_NS 1000 #define WS2812_T1H_NS 1000 -#define WS2812_T1L_NS 350 +#define WS2812_T1L_NS 400 #define SK6812_T0H_NS 300 #define SK6812_T0L_NS 900 @@ -113,7 +113,7 @@ static void IRAM_ATTR _rmt_adapter(const void *src, rmt_item32_t *dest, size_t s while (size < src_size && num < wanted_num) { #ifdef LED_STIRP_BRIGNTNESS - uint8_t b = scale8_video(*psrc, brightness); + uint8_t b = brightness != 255 ? scale8_video(*psrc, brightness) : *psrc; #else uint8_t b = *psrc; #endif