Skip to content

Conversation

@LuSeKa
Copy link

@LuSeKa LuSeKa commented Sep 5, 2021

We can easily get rid of the prev variable and do the smoothing in only one line.

@LuSeKa LuSeKa marked this pull request as ready for review September 5, 2021 05:02
@LuSeKa
Copy link
Author

LuSeKa commented Sep 5, 2021

I made the change only in the simple.ino file for demonstration, but it can be applied to all places where the smoothing is being performed.

Smoothing can even be done with just one line!

initialize switch1Smoothed for good measure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant