Comment

Comment by pimlottc

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

parent pimlottc 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton