Skip to content

Commit

Permalink
Fix minor typo in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
JChristensen committed Jan 16, 2020
1 parent 976ad07 commit 858ab21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ int sensorMovingAvg = mySensor.getAvg();

### getCount()
##### Description
Returns the number of data points collected for the moving average, a number between zero and *interval*. This function can be used to determine if a valid moving average exists. This may be useful, for example, to avoid calling `getAvg()` before any data points have been added to the moving average. Calling getAvg() before any data points are added causes a divide by zero which will result in invalid data and/or undefined/undesired behavior.
Returns the number of data points collected for the moving average, a number between zero and *interval*. This function can be used to determine if a valid moving average exists. This may be useful, for example, to avoid calling `getAvg()` before any data points have been added to the moving average. Calling `getAvg()` before any data points are added causes a divide by zero which will result in invalid data and/or undefined/undesired behavior.
##### Syntax
`getCount();`
##### Parameters
Expand Down

0 comments on commit 858ab21

Please sign in to comment.