Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #490 from luebbe/main
Send LDR and BATT raw values through standard median and mean filters…
- Loading branch information
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luisllamasbinaburo, could you bump a new 1.0.1 version of your library https://registry.platformio.org/libraries/luisllamasbinaburo/MedianFilterLib ?
See issue https://github.com/Blueforcer/awtrix-light/actions/runs/8201873690/job/22431485159#step:10:210
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mhh. It compiles fine on my local machine
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows OS is not case sensitive. The issue was fixed in this commit (later after 1.0.0 was release) luisllamasbinaburo/Arduino-MedianFilter@53e1273
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ok, i will changed it
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for not being specific. Your code is good and thanks for using PlatformIO!
I cc-ed in this thread @luisllamasbinaburo , the author of https://registry.platformio.org/libraries/luisllamasbinaburo/MedianFilterLib . It would be great if he published a new version containing the fix to this issue.
Otherwise, you can use
https://github.com/luisllamasbinaburo/Arduino-MedianFilter.git
directly instead of the registry1.0.0
versionb9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
already done, wcomes with the next commit / release
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luisllamasbinaburo , you need to update the library manifest in the main branch and later create a new release. See https://github.com/luisllamasbinaburo/Arduino-MedianFilter/blob/v1.0.1/library.properties#L2
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uops! Sorry. Updated again
b9d78ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it works now.
@Blueforcer, you can use the semantic version (
luisllamasbinaburo/MedianFilterLib@^1.0.1
) now https://registry.platformio.org/libraries/luisllamasbinaburo/MedianFilterLib