From f23a113cc6dbccbd247ab99dbe1e6afe516dcba1 Mon Sep 17 00:00:00 2001 From: Tyeth Gundry Date: Tue, 14 Nov 2023 20:28:57 +0000 Subject: [PATCH 1/2] Bump version number to 1.4.4 --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 63061c9..992af1d 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Adafruit TCS34725 -version=1.4.2 +version=1.4.4 author=Adafruit maintainer=Adafruit sentence=Driver for Adafruit's TCS34725 RGB Color Sensor Breakout From 0c66766d04ef182c5fa75cb2c922bf9fa85b782a Mon Sep 17 00:00:00 2001 From: Tyeth Gundry Date: Tue, 12 Dec 2023 12:04:06 +0000 Subject: [PATCH 2/2] Fix ledcAttach for esp32 idf5 --- examples/colorview/colorview.ino | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/colorview/colorview.ino b/examples/colorview/colorview.ino index ca4d01b..e779e58 100644 --- a/examples/colorview/colorview.ino +++ b/examples/colorview/colorview.ino @@ -31,12 +31,9 @@ void setup() { // use these three pins to drive an LED #if defined(ARDUINO_ARCH_ESP32) - ledcAttachPin(redpin, 1); - ledcSetup(1, 12000, 8); - ledcAttachPin(greenpin, 2); - ledcSetup(2, 12000, 8); - ledcAttachPin(bluepin, 3); - ledcSetup(3, 12000, 8); + ledcAttach(redpin, 12000, 8); + ledcAttach(greenpin, 12000, 8); + ledcAttach(bluepin, 12000, 8); #else pinMode(redpin, OUTPUT); pinMode(greenpin, OUTPUT);