From e277f78bea166d8324345c47f8724e871c141984 Mon Sep 17 00:00:00 2001 From: Driver Generator 2 Date: Tue, 3 Dec 2024 09:56:29 +0000 Subject: [PATCH 1/3] Generate SEN66 driver from SEN66 model version 1.3.1 --- .github/workflows/embedded_quality_check.yml | 8 ++++++++ CHANGELOG.md | 8 +++++++- README.md | 8 ++++---- example-usage/sen66_i2c_example_usage.c | 2 +- metadata.yml | 4 ++-- sen66_i2c.c | 2 +- sen66_i2c.h | 2 +- tests/sen66_i2c_test.cpp | 2 +- 8 files changed, 25 insertions(+), 11 deletions(-) diff --git a/.github/workflows/embedded_quality_check.yml b/.github/workflows/embedded_quality_check.yml index 31722af..95e97ee 100644 --- a/.github/workflows/embedded_quality_check.yml +++ b/.github/workflows/embedded_quality_check.yml @@ -11,3 +11,11 @@ on: jobs: driver-quality: uses: sensirion/.github/.github/workflows/driver.c.check.yml@main + + todo-check: + if: github.event_name == 'push' && github.ref != 'refs/head/main' + uses: sensirion/.github/.github/workflows/driver.common.todo_check.yml@main + + code-generation-check: + if: github.event_name == 'push' && github.ref != 'refs/head/main' + uses: sensirion/.github/.github/workflows/driver.generated.metadata_check.yml@main diff --git a/CHANGELOG.md b/CHANGELOG.md index 57925d7..fe4f06e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.1] - 2024-12-1 + +### Fixed + +- Fix naming from mass concentration to number concentration for read number concentration method (returned values were correct). ## [1.0.0] - 2024-11-25 ### Added @@ -21,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add interfaces to start, stop and read measurements. - Add interfaces to read product name, serial number and version -[Unreleased]: https://github.com/Sensirion/embedded-i2c-sen66/compare/1.0.0...HEAD +[Unreleased]: https://github.com/Sensirion/embedded-i2c-sen66/compare/1.0.1...HEAD +[1.0.1]: https://github.com/Sensirion/embedded-i2c-sen66/compare/1.0.0...1.0.1 [1.0.0]: https://github.com/Sensirion/embedded-i2c-sen66/compare/0.1.0...1.0.0 [0.1.0]: https://github.com/Sensirion/embedded-i2c-sen66/releases/tag/0.1.0 \ No newline at end of file diff --git a/README.md b/README.md index c690ae4..59ef87b 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,19 @@ The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/S ### Connecting the Sensor -Your sensor has 4 different signals that need to be connected to your board: VDD, GND, SDA, SCL. +Your sensor has 6 different signals that need to be connected to your board: VDD, GND, SDA, SCL, GND, VDD. Use the following pins to connect your SEN66: | *Pin* | *Cable Color* | *Name* | *Description* | *Comments* | |-------|---------------|:------:|----------------|------------| -| 1 | red | VDD | Supply Voltage | 3.3V ±10% +| 1 | red | VDD | Supply Voltage | 3.3V ±5% | 2 | black | GND | Ground | | 3 | green | SDA | I2C: Serial data input / output | TTL 5V compatible | 4 | yellow | SCL | I2C: Serial clock input | TTL 5V compatible -| 5 | | NC | Do not connect | -| 6 | | NC | Do not connect | +| 5 | | GND | Ground | Do not connect (Pins 2 and 5 are connected internally) +| 6 | | VDD | Supply Voltage | Do not connect (Pins 1 and 6 are connected internally) diff --git a/example-usage/sen66_i2c_example_usage.c b/example-usage/sen66_i2c_example_usage.c index b2bb542..514ea7e 100644 --- a/example-usage/sen66_i2c_example_usage.c +++ b/example-usage/sen66_i2c_example_usage.c @@ -3,7 +3,7 @@ * * Generator: sensirion-driver-generator 1.0.1 * Product: sen66 - * Model-Version: 1.3.0 + * Model-Version: 1.3.1 */ /* * Copyright (c) 2024, Sensirion AG diff --git a/metadata.yml b/metadata.yml index e7f7ddb..505283c 100644 --- a/metadata.yml +++ b/metadata.yml @@ -1,7 +1,7 @@ # driver generation metadata generator_version: 1.0.1 -model_version: 1.3.0 +model_version: 1.3.1 dg_status: released is_manually_modified: false first_generated: '2024-10-30 08:14' -last_generated: '2024-11-27 07:57' +last_generated: '2024-12-03 09:56' diff --git a/sen66_i2c.c b/sen66_i2c.c index 727b24b..2c9b577 100644 --- a/sen66_i2c.c +++ b/sen66_i2c.c @@ -3,7 +3,7 @@ * * Generator: sensirion-driver-generator 1.0.1 * Product: sen66 - * Model-Version: 1.3.0 + * Model-Version: 1.3.1 */ /* * Copyright (c) 2024, Sensirion AG diff --git a/sen66_i2c.h b/sen66_i2c.h index 734c400..ea39a46 100644 --- a/sen66_i2c.h +++ b/sen66_i2c.h @@ -3,7 +3,7 @@ * * Generator: sensirion-driver-generator 1.0.1 * Product: sen66 - * Model-Version: 1.3.0 + * Model-Version: 1.3.1 */ /* * Copyright (c) 2024, Sensirion AG diff --git a/tests/sen66_i2c_test.cpp b/tests/sen66_i2c_test.cpp index 348c676..5423fbb 100644 --- a/tests/sen66_i2c_test.cpp +++ b/tests/sen66_i2c_test.cpp @@ -3,7 +3,7 @@ * * Generator: sensirion-driver-generator 1.0.1 * Product: sen66 - * Model-Version: 1.3.0 + * Model-Version: 1.3.1 */ #include "sen66_i2c.h" From fab2874725f7851bd93bffaccee49fff1f8e8647 Mon Sep 17 00:00:00 2001 From: LeonieFierz <56353030+LeonieFierz@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:21:47 +0100 Subject: [PATCH 2/3] remove metadata and todo check --- .github/workflows/embedded_quality_check.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/embedded_quality_check.yml b/.github/workflows/embedded_quality_check.yml index 95e97ee..31722af 100644 --- a/.github/workflows/embedded_quality_check.yml +++ b/.github/workflows/embedded_quality_check.yml @@ -11,11 +11,3 @@ on: jobs: driver-quality: uses: sensirion/.github/.github/workflows/driver.c.check.yml@main - - todo-check: - if: github.event_name == 'push' && github.ref != 'refs/head/main' - uses: sensirion/.github/.github/workflows/driver.common.todo_check.yml@main - - code-generation-check: - if: github.event_name == 'push' && github.ref != 'refs/head/main' - uses: sensirion/.github/.github/workflows/driver.generated.metadata_check.yml@main From f407788b658274c904ff5d15cc08fd53d74e2a8e Mon Sep 17 00:00:00 2001 From: LeonieFierz <56353030+LeonieFierz@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:32:01 +0100 Subject: [PATCH 3/3] update pin description --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 59ef87b..dbe8e39 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/S ## Setup Guide -### Connecting the Sensor +### Connect the Sensor -Your sensor has 6 different signals that need to be connected to your board: VDD, GND, SDA, SCL, GND, VDD. -Use the following pins to connect your SEN66: +Your sensor has 4 different pins that need to be connected to your board: VDD, GND, SDA, SCL. +Use the following description to connect your SEN66: @@ -27,8 +27,8 @@ Use the following pins to connect your SEN66: | 2 | black | GND | Ground | | 3 | green | SDA | I2C: Serial data input / output | TTL 5V compatible | 4 | yellow | SCL | I2C: Serial clock input | TTL 5V compatible -| 5 | | GND | Ground | Do not connect (Pins 2 and 5 are connected internally) -| 6 | | VDD | Supply Voltage | Do not connect (Pins 1 and 6 are connected internally) +| 5 | | NC | Do not connect | Ground (Pins 2 and 5 are connected internally) +| 6 | | NC | Do not connect | Supply voltage (Pins 1 and 6 are connected internally) @@ -165,4 +165,4 @@ they are fixed. # License -See [LICENSE](LICENSE). \ No newline at end of file +See [LICENSE](LICENSE).