Tested this today and it works fine. So far so good.
I'm going to paste two of the functions that are responsible with handling the regression here so you can see them without opening the code file.
I have to mention here that I got inspired by this video which helped me implement the mathematical regression in this firmware. So if you want to research more, here's the link to the video:
https://www.youtube.com/watch?v=GhrxgbQnEEU&t=279s
Credits and thanks to Eugene O'Loughlin for posting this video.
This version is pretty stable for experimenting with it and I think there is no major risk at this point. Like I mentioned in previous instructions, if you want to replicate this project, please read the disclaimer on this project's page first and exercise caution at all times.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.