Skip to content

Library that returns smoothed values, reducing noise read from a sensor for Arduino

License

Notifications You must be signed in to change notification settings

ErickSimoes/anoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anoise

Library that returns smoothed values, reduces noise read from a sensor

Note: So far the library has only a value smoothing implementation.

Smooth() function

It is necessary to first determine a value for the range by using the setRangeSize(uint8_t range) method.

The Smooth() function is given an integer value. It will return the same value if the value is not less than itself plus the range nor itself less than the range. If the read value is out of range, it returns this new value.

About

Library that returns smoothed values, reducing noise read from a sensor for Arduino

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages