From 62dae0ebc454c30afaae92b294535023ecd8399c Mon Sep 17 00:00:00 2001 From: Rob Tillaart Date: Fri, 23 Jan 2026 16:35:02 +0100 Subject: [PATCH] update GitHub actions --- .github/workflows/arduino-lint.yml | 4 ++-- .github/workflows/arduino_test_runner.yml | 3 +-- .github/workflows/jsoncheck.yml | 4 +++- CHANGELOG.md | 4 ++++ LICENSE | 2 +- PCA9635.cpp | 2 +- PCA9635.h | 6 +++--- examples/PCA9635_OE_control/PCA9635_OE_control.ino | 1 + examples/PCA9635_performance/PCA9635_performance.ino | 1 + examples/PCA9635_shift_rotate/PCA9635_shift_rotate.ino | 3 ++- examples/PCA9635_test01/PCA9635_test01.ino | 1 + examples/PCA9635_test_multiple/PCA9635_test_multiple.ino | 1 + library.json | 2 +- library.properties | 2 +- 14 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index 7f8f4ef..aed264b 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -6,8 +6,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - uses: arduino/arduino-lint-action@v1 + - uses: actions/checkout@v6 + - uses: arduino/arduino-lint-action@v2 with: library-manager: update compliance: strict \ No newline at end of file diff --git a/.github/workflows/arduino_test_runner.yml b/.github/workflows/arduino_test_runner.yml index dbd0ce7..a2a5f07 100644 --- a/.github/workflows/arduino_test_runner.yml +++ b/.github/workflows/arduino_test_runner.yml @@ -6,9 +6,8 @@ jobs: runTest: runs-on: ubuntu-latest timeout-minutes: 20 - steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 diff --git a/.github/workflows/jsoncheck.yml b/.github/workflows/jsoncheck.yml index 1cbb5e2..2c52dc7 100644 --- a/.github/workflows/jsoncheck.yml +++ b/.github/workflows/jsoncheck.yml @@ -5,13 +5,15 @@ on: paths: - '**.json' pull_request: + paths: + - '**.json' jobs: test: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: json-syntax-check uses: limitusus/json-syntax-check@v2 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 60839e4..d9ec82a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.6.2] - 2026-01-23 +- update GitHud actions +- minor edits + ## [0.6.1] - 2025-05-08 - fix #34, Sync PCA9634 / 32 - rename setLedDriverMode() => setLedDriverModeAll() diff --git a/LICENSE b/LICENSE index cb368db..da0a13d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016-2025 Rob Tillaart +Copyright (c) 2016-2026 Rob Tillaart Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/PCA9635.cpp b/PCA9635.cpp index ce63624..f2b5c0e 100644 --- a/PCA9635.cpp +++ b/PCA9635.cpp @@ -2,7 +2,7 @@ // FILE: PCA9635.cpp // AUTHOR: Rob Tillaart // DATE: 23-apr-2016 -// VERSION: 0.6.1 +// VERSION: 0.6.2 // PURPOSE: Arduino library for PCA9635 I2C LED driver, 16 channel PWM, 8 bit // URL: https://github.com/RobTillaart/PCA9635 diff --git a/PCA9635.h b/PCA9635.h index c6eab2e..3e0822b 100644 --- a/PCA9635.h +++ b/PCA9635.h @@ -3,7 +3,7 @@ // FILE: PCA9635.h // AUTHOR: Rob Tillaart // DATE: 23-apr-2016 -// VERSION: 0.6.1 +// VERSION: 0.6.2 // PURPOSE: Arduino library for PCA9635 I2C LED driver, 16 channel PWM, 8 bit // URL: https://github.com/RobTillaart/PCA9635 @@ -12,7 +12,7 @@ #include "Wire.h" -#define PCA9635_LIB_VERSION (F("0.6.1")) +#define PCA9635_LIB_VERSION (F("0.6.2")) // mode codes @@ -144,7 +144,7 @@ class PCA9635 uint8_t writeN(uint8_t channel, uint8_t * arr, uint8_t count); // array at least 16 elements - uint8_t writeAll(uint8_t * arr); + uint8_t writeAll(uint8_t * arr); uint8_t allOff(); // generic worker, write N consecutive PWM registers without Stop command diff --git a/examples/PCA9635_OE_control/PCA9635_OE_control.ino b/examples/PCA9635_OE_control/PCA9635_OE_control.ino index 7571696..4edd263 100644 --- a/examples/PCA9635_OE_control/PCA9635_OE_control.ino +++ b/examples/PCA9635_OE_control/PCA9635_OE_control.ino @@ -14,6 +14,7 @@ PCA9635 ledArray(0x20); void setup() { Serial.begin(115200); + Serial.println(); Serial.println(__FILE__); Serial.print("PCA9635_LIB_VERSION: "); Serial.println(PCA9635_LIB_VERSION); diff --git a/examples/PCA9635_performance/PCA9635_performance.ino b/examples/PCA9635_performance/PCA9635_performance.ino index 6f5486d..6625ab3 100644 --- a/examples/PCA9635_performance/PCA9635_performance.ino +++ b/examples/PCA9635_performance/PCA9635_performance.ino @@ -15,6 +15,7 @@ uint32_t start, stop; void setup() { Serial.begin(115200); + Serial.println(); Serial.println(__FILE__); Serial.print("PCA9635_LIB_VERSION: "); Serial.println(PCA9635_LIB_VERSION); diff --git a/examples/PCA9635_shift_rotate/PCA9635_shift_rotate.ino b/examples/PCA9635_shift_rotate/PCA9635_shift_rotate.ino index 6811e3a..72ebe9c 100644 --- a/examples/PCA9635_shift_rotate/PCA9635_shift_rotate.ino +++ b/examples/PCA9635_shift_rotate/PCA9635_shift_rotate.ino @@ -11,13 +11,14 @@ PCA9635 ledArray(0x20); uint8_t arr[16]; // working array -uint8_t channels = 16; +uint8_t channels = 16; void setup() { Serial.begin(115200); + Serial.println(); Serial.println(__FILE__); Serial.print("PCA9635_LIB_VERSION: "); Serial.println(PCA9635_LIB_VERSION); diff --git a/examples/PCA9635_test01/PCA9635_test01.ino b/examples/PCA9635_test01/PCA9635_test01.ino index caa52a4..f0ed119 100644 --- a/examples/PCA9635_test01/PCA9635_test01.ino +++ b/examples/PCA9635_test01/PCA9635_test01.ino @@ -14,6 +14,7 @@ PCA9635 ledArray(0x20); void setup() { Serial.begin(115200); + Serial.println(); Serial.println(__FILE__); Serial.print("PCA9635_LIB_VERSION: "); Serial.println(PCA9635_LIB_VERSION); diff --git a/examples/PCA9635_test_multiple/PCA9635_test_multiple.ino b/examples/PCA9635_test_multiple/PCA9635_test_multiple.ino index 4e777a1..495d2cb 100644 --- a/examples/PCA9635_test_multiple/PCA9635_test_multiple.ino +++ b/examples/PCA9635_test_multiple/PCA9635_test_multiple.ino @@ -15,6 +15,7 @@ PCA9635 ledArray2(0x21); void setup() { Serial.begin(115200); + Serial.println(); Serial.println(__FILE__); Serial.print("PCA9635_LIB_VERSION: "); Serial.println(PCA9635_LIB_VERSION); diff --git a/library.json b/library.json index e564413..e2b04d0 100644 --- a/library.json +++ b/library.json @@ -15,7 +15,7 @@ "type": "git", "url": "https://github.com/RobTillaart/PCA9635.git" }, - "version": "0.6.1", + "version": "0.6.2", "license": "MIT", "frameworks": "*", "platforms": "*", diff --git a/library.properties b/library.properties index 9d7758b..f0e91e7 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=PCA9635 -version=0.6.1 +version=0.6.2 author=Rob Tillaart maintainer=Rob Tillaart sentence=Arduino library for PCA9635 I2C LED driver, 16 channel PWM, 8 bit.