From e82e6af31f64c3dba14ac72c5b015156f16a9133 Mon Sep 17 00:00:00 2001 From: Josefine Hansson <66409231+jhansson-ard@users.noreply.github.com> Date: Thu, 16 Sep 2021 06:22:14 +0200 Subject: [PATCH 01/13] added missing link (#15) added missing link from https://www.arduino.cc/en/Reference/ArduinoRS485 --- docs/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/readme.md b/docs/readme.md index 2a2608a..5e8adf7 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -1,7 +1,7 @@ # Arduino RS485 library -The Arduino RS485 library enables you to send and receive data using the RS-485 standard with Arduino® RS485 Shields, like the MKR 485 Shield. Please refer to the MKR RS485 Shield documentation for the specific settings about half, full duplex, and termination. +The Arduino RS485 library enables you to send and receive data using the RS-485 standard with Arduino® RS485 Shields, like the MKR 485 Shield. Please refer to the [MKR RS485 Shield](https://www.arduino.cc/en/Guide/MKR485Shield) documentation for the specific settings about half, full duplex, and termination. This library supports the MAX3157 and equivalent chipsets. @@ -9,4 +9,4 @@ To use this library: ``` #include -``` \ No newline at end of file +``` From 5281d798de4c9d440ee6fa8b97528d7be4ae3d56 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 10 Jan 2022 00:51:33 -0800 Subject: [PATCH 02/13] Add GitHub Actions workflow to synchronize with shared repository labels (#20) On every push that changes relevant files, and periodically, configure the repository's issue and pull request labels according to the universal, shared, and local label configuration files. --- .github/dependabot.yml | 2 + .github/workflows/sync-labels.yml | 138 ++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 .github/workflows/sync-labels.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 03600dd..fa738ec 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,3 +8,5 @@ updates: directory: / # Check the repository's workflows under /.github/workflows/ schedule: interval: daily + labels: + - "topic: infrastructure" diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml new file mode 100644 index 0000000..3ee6feb --- /dev/null +++ b/.github/workflows/sync-labels.yml @@ -0,0 +1,138 @@ +# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/sync-labels.md +name: Sync Labels + +# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows +on: + push: + paths: + - ".github/workflows/sync-labels.ya?ml" + - ".github/label-configuration-files/*.ya?ml" + pull_request: + paths: + - ".github/workflows/sync-labels.ya?ml" + - ".github/label-configuration-files/*.ya?ml" + schedule: + # Run daily at 8 AM UTC to sync with changes to shared label configurations. + - cron: "0 8 * * *" + workflow_dispatch: + repository_dispatch: + +env: + CONFIGURATIONS_FOLDER: .github/label-configuration-files + CONFIGURATIONS_ARTIFACT: label-configuration-files + +jobs: + check: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Download JSON schema for labels configuration file + id: download-schema + uses: carlosperate/download-file-action@v1 + with: + file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/arduino-tooling-gh-label-configuration-schema.json + location: ${{ runner.temp }}/label-configuration-schema + + - name: Install JSON schema validator + run: | + sudo npm install \ + --global \ + ajv-cli \ + ajv-formats + + - name: Validate local labels configuration + run: | + # See: https://github.com/ajv-validator/ajv-cli#readme + ajv validate \ + --all-errors \ + -c ajv-formats \ + -s "${{ steps.download-schema.outputs.file-path }}" \ + -d "${{ env.CONFIGURATIONS_FOLDER }}/*.{yml,yaml}" + + download: + needs: check + runs-on: ubuntu-latest + + strategy: + matrix: + filename: + # Filenames of the shared configurations to apply to the repository in addition to the local configuration. + # https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/sync-labels + - universal.yml + + steps: + - name: Download + uses: carlosperate/download-file-action@v1 + with: + file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }} + + - name: Pass configuration files to next job via workflow artifact + uses: actions/upload-artifact@v2 + with: + path: | + *.yaml + *.yml + if-no-files-found: error + name: ${{ env.CONFIGURATIONS_ARTIFACT }} + + sync: + needs: download + runs-on: ubuntu-latest + + steps: + - name: Set environment variables + run: | + # See: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable + echo "MERGED_CONFIGURATION_PATH=${{ runner.temp }}/labels.yml" >> "$GITHUB_ENV" + + - name: Determine whether to dry run + id: dry-run + if: > + github.event_name == 'pull_request' || + ( + ( + github.event_name == 'push' || + github.event_name == 'workflow_dispatch' + ) && + github.ref != format('refs/heads/{0}', github.event.repository.default_branch) + ) + run: | + # Use of this flag in the github-label-sync command will cause it to only check the validity of the + # configuration. + echo "::set-output name=flag::--dry-run" + + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Download configuration files artifact + uses: actions/download-artifact@v2 + with: + name: ${{ env.CONFIGURATIONS_ARTIFACT }} + path: ${{ env.CONFIGURATIONS_FOLDER }} + + - name: Remove unneeded artifact + uses: geekyeggo/delete-artifact@v1 + with: + name: ${{ env.CONFIGURATIONS_ARTIFACT }} + + - name: Merge label configuration files + run: | + # Merge all configuration files + shopt -s extglob + cat "${{ env.CONFIGURATIONS_FOLDER }}"/*.@(yml|yaml) > "${{ env.MERGED_CONFIGURATION_PATH }}" + + - name: Install github-label-sync + run: sudo npm install --global github-label-sync + + - name: Sync labels + env: + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + # See: https://github.com/Financial-Times/github-label-sync + github-label-sync \ + --labels "${{ env.MERGED_CONFIGURATION_PATH }}" \ + ${{ steps.dry-run.outputs.flag }} \ + ${{ github.repository }} From 6f4c48409f69cbaba49b231e9b5f0ea5a8bf099b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Mar 2022 12:11:20 +0000 Subject: [PATCH 03/13] Bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/check-arduino.yml | 2 +- .github/workflows/compile-examples.yml | 2 +- .github/workflows/spell-check.yml | 2 +- .github/workflows/sync-labels.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-arduino.yml b/.github/workflows/check-arduino.yml index 0d969f6..3e0d26c 100644 --- a/.github/workflows/check-arduino.yml +++ b/.github/workflows/check-arduino.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Arduino Lint uses: arduino/arduino-lint-action@v1 diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 8821028..69157ad 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -64,7 +64,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Compile examples uses: arduino/compile-sketches@v1 diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index 01bee87..3f6b03f 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Spell check uses: codespell-project/actions-codespell@master diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 3ee6feb..4ea5755 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download JSON schema for labels configuration file id: download-schema @@ -105,7 +105,7 @@ jobs: echo "::set-output name=flag::--dry-run" - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download configuration files artifact uses: actions/download-artifact@v2 From fd4d89d5c8051cef5271b67e8cd27e16fdf4ca31 Mon Sep 17 00:00:00 2001 From: rd-benson <101975745+rd-benson@users.noreply.github.com> Date: Sun, 20 Mar 2022 12:14:55 +0000 Subject: [PATCH 04/13] Support Nano RP2040 Connect A6 & A5 pin definition clashes with WiFiNINA library requirements - use A1 & A0 instead. --- src/RS485.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/RS485.h b/src/RS485.h index 050b253..3f9fdff 100644 --- a/src/RS485.h +++ b/src/RS485.h @@ -31,6 +31,9 @@ #ifdef __AVR__ #define RS485_DEFAULT_DE_PIN 2 #define RS485_DEFAULT_RE_PIN -1 +#elif ARDUINO_NANO_RP2040_CONNECT +#define RS485_DEFAULT_DE_PIN A1 +#define RS485_DEFAULT_RE_PIN A0 #else #define RS485_DEFAULT_DE_PIN A6 #define RS485_DEFAULT_RE_PIN A5 From b3dc67841fd801b4322de93fbf2b959eb63c23aa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 12:35:44 +0000 Subject: [PATCH 05/13] Bump actions/upload-artifact from 2 to 3 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/compile-examples.yml | 2 +- .github/workflows/sync-labels.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 69157ad..c692243 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -83,7 +83,7 @@ jobs: sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }} - name: Save sketches report as workflow artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: if-no-files-found: error path: ${{ env.SKETCHES_REPORTS_PATH }} diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 4ea5755..1d969d5 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -70,7 +70,7 @@ jobs: file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }} - name: Pass configuration files to next job via workflow artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: | *.yaml From 960a81759b5456b98defe7ae3cc466c96c865d9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 12:35:47 +0000 Subject: [PATCH 06/13] Bump actions/download-artifact from 2 to 3 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/sync-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 4ea5755..e84e803 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -108,7 +108,7 @@ jobs: uses: actions/checkout@v3 - name: Download configuration files artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: ${{ env.CONFIGURATIONS_ARTIFACT }} path: ${{ env.CONFIGURATIONS_FOLDER }} From 2759625205754a9cce13e30a82b32450b2837c57 Mon Sep 17 00:00:00 2001 From: Hannes7eicher Date: Fri, 22 Apr 2022 10:03:36 +0200 Subject: [PATCH 07/13] Update api.md --- docs/api.md | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/docs/api.md b/docs/api.md index 71b6989..f408c29 100644 --- a/docs/api.md +++ b/docs/api.md @@ -104,40 +104,6 @@ The number of bytes available to read. * [sendBreakMicroseconds()](#sendbreakmicroseconds) * [setPins()](#setpins) -### `available()` - -Get the number of bytes (characters) available for reading from the RS485 port. This is data that already arrived and is stored in the serial receive buffer. - -#### Syntax - -``` -RS485.available() -``` - -#### Parameters - -None. - -#### Returns - -The number of bytes available to read. - -#### See also - -* [begin()](#begin) -* [end()](#end) -* [peek()](#peek) -* [read()](#read) -* [write()](#write) -* [flush()](#flush) -* [beginTransmission()](#begintransmission) -* [endTransmission()](#endtransmission) -* [receive()](#receive) -* [noReceive()](#noreceive) -* [sendBreak()](#sendbreak) -* [sendBreakMicroseconds()](#sendbreakmicroseconds) -* [setPins()](#setpins) - ### `peek()` Returns the next byte (character) of the incoming serial data without removing it from the internal serial buffer. That is, successive calls to peek() will return the same character, as will the next call to read(). From 466aef095c55d42af7f50656b7468a8d01cadf63 Mon Sep 17 00:00:00 2001 From: giulcioffi Date: Mon, 2 May 2022 11:19:22 +0200 Subject: [PATCH 08/13] Add pin configuration according to default core defines --- src/RS485.cpp | 4 ++++ src/RS485.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/RS485.cpp b/src/RS485.cpp index ba6e80f..96ec163 100644 --- a/src/RS485.cpp +++ b/src/RS485.cpp @@ -186,4 +186,8 @@ void RS485Class::setDelays(int predelay, int postdelay) _postdelay = postdelay; } +#ifdef RS285_SERIAL_PORT +RS485Class RS485(RS285_SERIAL_PORT, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN); +#else RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN); +#endif diff --git a/src/RS485.h b/src/RS485.h index 3f9fdff..ac59cf3 100644 --- a/src/RS485.h +++ b/src/RS485.h @@ -22,11 +22,13 @@ #include +#ifndef RS485_DEFAULT_TX_PIN #ifdef PIN_SERIAL1_TX #define RS485_DEFAULT_TX_PIN PIN_SERIAL1_TX #else #define RS485_DEFAULT_TX_PIN 1 #endif +#endif #ifdef __AVR__ #define RS485_DEFAULT_DE_PIN 2 @@ -35,9 +37,11 @@ #define RS485_DEFAULT_DE_PIN A1 #define RS485_DEFAULT_RE_PIN A0 #else +#ifndef RS485_DEFAULT_DE_PIN #define RS485_DEFAULT_DE_PIN A6 #define RS485_DEFAULT_RE_PIN A5 #endif +#endif #define RS485_DEFAULT_PRE_DELAY 50 From 821652961162d8352dd53ce4c66036be3359625a Mon Sep 17 00:00:00 2001 From: giulcioffi Date: Wed, 4 May 2022 11:39:57 +0200 Subject: [PATCH 09/13] Add constructor with PinName types for mbed boards --- src/RS485.cpp | 16 ++++++++++++++-- src/RS485.h | 3 +++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/RS485.cpp b/src/RS485.cpp index 96ec163..05bdcbb 100644 --- a/src/RS485.cpp +++ b/src/RS485.cpp @@ -19,6 +19,18 @@ #include "RS485.h" +#ifdef __MBED__ +#include "pinDefinitions.h" +RS485Class::RS485Class(HardwareSerial& hwSerial, PinName txPin, PinName dePin, PinName rePin) : + _serial(&hwSerial), + _txPin(PinNameToIndex(txPin)), + _dePin(PinNameToIndex(dePin)), + _rePin(PinNameToIndex(rePin)), + _transmisionBegun(false) +{ +} +#endif + RS485Class::RS485Class(HardwareSerial& hwSerial, int txPin, int dePin, int rePin) : _serial(&hwSerial), _txPin(txPin), @@ -186,8 +198,8 @@ void RS485Class::setDelays(int predelay, int postdelay) _postdelay = postdelay; } -#ifdef RS285_SERIAL_PORT -RS485Class RS485(RS285_SERIAL_PORT, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN); +#ifdef RS485_SERIAL_PORT +RS485Class RS485(RS485_SERIAL_PORT, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN); #else RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS485_DEFAULT_DE_PIN, RS485_DEFAULT_RE_PIN); #endif diff --git a/src/RS485.h b/src/RS485.h index ac59cf3..cc298b2 100644 --- a/src/RS485.h +++ b/src/RS485.h @@ -49,6 +49,9 @@ class RS485Class : public Stream { public: +#ifdef __MBED__ + RS485Class(HardwareSerial& hwSerial, PinName txPin, PinName dePin, PinName rePin); +#endif RS485Class(HardwareSerial& hwSerial, int txPin, int dePin, int rePin); virtual void begin(unsigned long baudrate); From 5a8c7d96d2ad8857458f117eae5c6bc32985666d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Oct 2022 12:09:24 +0000 Subject: [PATCH 10/13] Bump geekyeggo/delete-artifact from 1 to 2 Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 1 to 2. - [Release notes](https://github.com/geekyeggo/delete-artifact/releases) - [Commits](https://github.com/geekyeggo/delete-artifact/compare/v1...v2) --- updated-dependencies: - dependency-name: geekyeggo/delete-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/sync-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 986bda6..10abaea 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -114,7 +114,7 @@ jobs: path: ${{ env.CONFIGURATIONS_FOLDER }} - name: Remove unneeded artifact - uses: geekyeggo/delete-artifact@v1 + uses: geekyeggo/delete-artifact@v2 with: name: ${{ env.CONFIGURATIONS_ARTIFACT }} From 5354571714f88a65b62dcc999905664f0ff1cca5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 12:09:34 +0000 Subject: [PATCH 11/13] Bump carlosperate/download-file-action from 1 to 2 Bumps [carlosperate/download-file-action](https://github.com/carlosperate/download-file-action) from 1 to 2. - [Release notes](https://github.com/carlosperate/download-file-action/releases) - [Commits](https://github.com/carlosperate/download-file-action/compare/v1...v2) --- updated-dependencies: - dependency-name: carlosperate/download-file-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/sync-labels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 10abaea..94938f3 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -31,7 +31,7 @@ jobs: - name: Download JSON schema for labels configuration file id: download-schema - uses: carlosperate/download-file-action@v1 + uses: carlosperate/download-file-action@v2 with: file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/arduino-tooling-gh-label-configuration-schema.json location: ${{ runner.temp }}/label-configuration-schema @@ -65,7 +65,7 @@ jobs: steps: - name: Download - uses: carlosperate/download-file-action@v1 + uses: carlosperate/download-file-action@v2 with: file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }} From 8931a76be9c1a58023aa66a3479b9662430d9b97 Mon Sep 17 00:00:00 2001 From: fra87 <5077242+fra87@users.noreply.github.com> Date: Wed, 21 Dec 2022 22:16:05 +0100 Subject: [PATCH 12/13] Fix for inverted pin names in end function Related issue: https://github.com/arduino-libraries/ArduinoRS485/issues/29 --- src/RS485.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/RS485.cpp b/src/RS485.cpp index 05bdcbb..20a6451 100644 --- a/src/RS485.cpp +++ b/src/RS485.cpp @@ -83,13 +83,13 @@ void RS485Class::end() { _serial->end(); - if (_rePin > -1) { - digitalWrite(_rePin, LOW); + if (_dePin > -1) { + digitalWrite(_dePin, LOW); pinMode(_dePin, INPUT); } - if (_dePin > -1) { - digitalWrite(_dePin, LOW); + if (_rePin > -1) { + digitalWrite(_rePin, LOW); pinMode(_rePin, INPUT); } } From a6a43bc43f12a97cb03151db3e096175861d74dd Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Thu, 29 Dec 2022 09:57:47 +0100 Subject: [PATCH 13/13] Release v1.0.3. --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index ffd6dfe..55c4a06 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ArduinoRS485 -version=1.0.2 +version=1.0.3 author=Arduino maintainer=Arduino sentence=Enables sending and receiving data using the RS-485 standard with RS-485 shields, like the MKR 485 Shield.