Skip to content

Commit 22d2403

Browse files
committed
Minor language tweaks
1 parent 71e4f42 commit 22d2403

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ Note: While the library was designed for the **SPL07-003**, with minor modificat
1313

1414

1515
## Features
16-
- Very simple to setup and use
1716
- Set sensor to idle, single, or continuous measurement modes
1817
- Configure measurement rates (1Hz - 200Hz) and oversampling rates (1x - 128x) for both the pressure and temperature sensors
1918
- Read the most recent pressure or temperature readings with a single function call
2019
- Can apply a linear offset to pressure / temperature measurements
2120
- Configure interrupt pin function and polarity
22-
- Query the interrupt state without a hardware EXINT connection
21+
- Query the interrupt register to find what triggered any interrupts
2322
- Can accept a custom TwoWire object for unique I2C setups
2423
- Can accept a custom I2C address and `SENSOR_ID` for use with other compatible sensors
2524

docs/docs.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,18 @@ Where the $Rate_{(pres)}$ and $Rate_{(temp)}$ are the measurement rates (`SPL07_
2525
|`SPL07_64SAMPLES`| 104.4ms | 104.4ms* |
2626
|`SPL07_128SAMPLES`| 206.8ms | 206.8ms* |
2727

28-
\*<sub><sup>*Temperature measurement time is only specified for single-sample mode in the datasheet, but is assumed to be similar to that of the pressure sensor for other oversampling rates*</sup></sub>
29-
28+
<sup>\**Temperature measurement time is only specified for single-sample mode in the datasheet, but is assumed to be similar to that of the pressure sensor for other oversampling rates*</sup>
3029

3130

3231
Below are some example settings with their associated cycle times:
3332

34-
| Use Case | Pres Config | Temp Config | Cycle Time |
33+
| Use Case | Pressure Config | Temperature Config | Cycle Time |
3534
| --- | --- | --- | --- |
3635
| Low power | `SPL07_1HZ`, `SPL07_2SAMPLES` | `SPL07_1HZ`, `SPL07_1SAMPLE` | ~8.8ms |
3736
| Standard precision | `SPL07_2HZ`, `SPL07_16SAMPLES` | `SPL07_1HZ`, `SPL07_1SAMPLE` | ~58.8ms |
3837
| High precision | `SPL07_4HZ`, `SPL07_64SAMPLES` | `SPL07_4HZ`, `SPL07_1SAMPLE` | ~432ms |
3938

40-
39+
---
4140

4241
## SPL07_003 Class Functions
4342
Below are functions of the `SPL07_003` class:

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=1.0.0
33
author=Kenneract
44
maintainer=Kenneract
55
sentence=SPL07-003 library for Arduino-compatible devices.
6-
paragraph=A library for interfacing with the SPL07-003 pressure and temperature sensor via I2C. Should work with similar sensors, like the SPL06-007, too.
6+
paragraph=A library for interfacing with the SPL07-003 pressure and temperature sensor via I2C. Supports all operating modes, measurement rates, and using interrupts. May work with similar sensors, like the SPL06-007, too.
77
category=Sensors
88
url=https://github.com/Kenneract/SPL07-003-Arduino-Library
99
architectures=*

src/SPL07_003.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ void SPL07_003::setPressureOffset(double offset) {
338338

339339
/*
340340
Sets the pressure offset value that gets applied during
341-
temperature calculation. Offset is in degrees Celcius.
341+
temperature calculation. Offset is in degrees Celsius.
342342
Intended for calibration.
343343
*/
344344
void SPL07_003::setTemperatureOffset(double offset) {
@@ -377,7 +377,7 @@ double SPL07_003::readPressure() {
377377
/*
378378
Fetches & converts the latest temperature reading.
379379
380-
Returns value in degrees Celcius
380+
Returns value in degrees Celsius
381381
*/
382382
double SPL07_003::readTemperature() {
383383
// Algorithm based on datasheet 4.6.2

0 commit comments

Comments
 (0)