Skip to content

Commit

Permalink
Merge pull request #1 from Sensirion/sen66_1.3.0_20241127_0757
Browse files Browse the repository at this point in the history
Generate SEN66 driver from SEN66 model version 1.3.0
  • Loading branch information
LeonieFierz authored Nov 27, 2024
2 parents 5cbbaf6 + 218046c commit c099f98
Show file tree
Hide file tree
Showing 8 changed files with 667 additions and 67 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] - 2024-11-25

### Added

- Add all public interfaces
### Changed

- Return type of CO2 value in read_measured_values changed from float to uint16
## [0.1.0] - 2024-10-31

### Added
Expand All @@ -13,5 +21,6 @@ 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/0.1.0...HEAD
[Unreleased]: https://github.com/Sensirion/embedded-i2c-sen66/compare/1.0.0...HEAD
[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
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ This document explains how to set up a SEN66 sensor to run on an embedded device
Click [here](https://sensirion.com/sen6x-air-quality-sensor-platform) to learn more about the Sensirion SEN66 sensor.


unknown


The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/SEN6x) is **0x6B**.
The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/SEN66) is **0x6B**.



Expand Down
4 changes: 2 additions & 2 deletions example-usage/sen66_i2c_example_usage.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Generator: sensirion-driver-generator 1.0.1
* Product: sen66
* Model-Version: 1.2.0
* Model-Version: 1.3.0
*/
/*
* Copyright (c) 2024, Sensirion AG
Expand Down Expand Up @@ -86,7 +86,7 @@ int main(void) {
int16_t nox_index = 0;
uint16_t co2 = 0;
uint16_t repetition = 0;
for (repetition = 0; repetition < 50; repetition++) {
for (repetition = 0; repetition < 100; repetition++) {
sensirion_hal_sleep_us(1000000);
error = sen66_read_measured_values_as_integers(
&mass_concentration_pm1p0, &mass_concentration_pm2p5,
Expand Down
Binary file modified images/sen6x-pinout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# driver generation metadata
generator_version: 1.0.1
model_version: 1.2.0
model_version: 1.3.0
dg_status: released
is_manually_modified: false
first_generated: '2024-10-30 08:14'
last_generated: '2024-10-30 08:14'
last_generated: '2024-11-27 07:57'
Loading

0 comments on commit c099f98

Please sign in to comment.