Skip to content

Commit

Permalink
Merge branch 'minor-formatting-readme' into 'master'
Browse files Browse the repository at this point in the history
minor updates in readme

See merge request MSO-SW/drivers/arduino/arduino-i2c-sf06-lf!2
  • Loading branch information
LeonieFierz committed Mar 31, 2022
2 parents d88d3d7 + 5f27e3c commit 190e139
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ support it are listed in the API description.
- LD20-0600L

- LD20-2600B

The following instructions and examples use a *SLF3C-1300F*.Click [here](https://sensirion.com/media/documents/F3931025/621F8CCE/Sensirion_Liquid_Flow_Meters_SLF3C-1300F_Datasheet.pdf
) to download the datasheet.

Expand All @@ -35,7 +36,7 @@ The following instructions and examples use a *SLF3C-1300F*.Click [here](https:/

### Connecting the Sensor

Your sensor has the four different connectors: VCC, GND, SDA, SCL. Use
Your sensor has the four different connectors: VDD, GND, SDA, SCL. Use
the following pins to connect your SF06-LF:

<img src="images/SLF3x_Pinout.png" width="300px">
Expand Down Expand Up @@ -94,8 +95,8 @@ manager or `Add .ZIP Library`

File => Examples => Sensirion I2C SF06-LF => exampleUsage

The example is configured to run with the default I2C address 0x08.
In case you need a different address change it in the code of `exampleUsage`. You find the list with pre-defined
The example is configured to run with a SLF3C-1300F, I2C address 0x08.
In case you need a different address change it in the code of `examples/exampleUsage.ino`. You find the list with pre-defined
addresses for the supported sensors in the `src/SensirionI2CSf06Lf.h`.


Expand Down
8 changes: 0 additions & 8 deletions src/SensirionI2cSf06Lf.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@
#define LD20_2600B_ADDR_A 0x08
#define SF06_LF_I2C_ADDRESS 0x08

// define enum with command ids

typedef enum {
START_H2O_CONTINUOUS_MEASUREMENT_CMD_ID = 0x3608,
START_IPA_CONTINUOUS_MEASUREMENT_CMD_ID = 0x3615,
Expand Down Expand Up @@ -96,8 +94,6 @@ class SensirionI2cSf06Lf {
*/
void begin(TwoWire& i2cBus, uint8_t i2cAddress);

// user-api functions

/**
* @brief read measured data
*
Expand Down Expand Up @@ -159,8 +155,6 @@ class SensirionI2cSf06Lf {
uint8_t serialNumber[],
uint16_t serialNumberSize);

// low-level-api functions

/**
* @brief Start continuous measurement mode for H₂O
*
Expand Down Expand Up @@ -358,8 +352,6 @@ class SensirionI2cSf06Lf {
TwoWire* _i2cBus = nullptr;
uint8_t _i2cAddress = 0;

// conversion functions

/**
* @brief signalFlow
*
Expand Down

0 comments on commit 190e139

Please sign in to comment.