Hacker News new | ask | show | jobs
by pimlottc 3379 days ago
I interpreted it to mean they used pulse-width modulation, varying the % of time the button was being pressed in relationship to how far the wheel was turned. It's the same trick used to control LED brightness, even though the light only has binary ON and OFF states.

https://learn.sparkfun.com/tutorials/pulse-width-modulation

1 comments

Hi, I'm actually one of the people who wrote this. That's exactly correct.