Re:The Glorious Return of a Humble Car Feature
by LorenPechtel on Thursday April 27, 2023 @12:54PM
(#35731014)
The problem is not a rotary encoder, but how the software handles the signals. That's what interrupts are for, the command should make it into the software queue basically instantly, ensuring commands aren't lost.
[ Parent
| on HN ]
Re:The Glorious Return of a Humble Car Feature
by brokenmachine on Friday April 28, 2023 @12:31AM
(#35737495)
Shut up with your Silicon Valley nerd talk!
Good old reliable polling. That's where it's at. 2 second response for a volume knob should be quick enough for anyone!
Re:The Glorious Return of a Humble Car Feature
by DonHopkins on Friday April 28, 2023 @05:06AM
(#35739063)
Oh great, why don't you just implement automotive user interfaces in PHP? ;)
"I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say "Yeah it works but you're leaking memory everywhere. Perhaps we should fix that." I’ll just restart Apache every 10 requests." -Rasmus Lerdorf
"We have things like protected properties. We have abstract methods. We have all this stuff that your computer science teacher told you you should be using. I don't care about this crap at all." -Rasmus Lerdorf