view the rest of the comments
Technology
This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.
Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.
Rules:
1: All Lemmy rules apply
2: Do not post low effort posts
3: NEVER post naziped*gore stuff
4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.
5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)
6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist
7: crypto related posts, unless essential, are disallowed
Why is the pulse width so large? LEDs can toggle millions of times per second, not merely hundreds.
It is possible, by the way, to dim an LED without PWM the old-fashioned way: by varying the voltage of the power supplied to it (“DC dimming”). You can see this in devices that have an indicator LED that stays on for a few moments before fading out. What's happening there is a capacitor in the device is (briefly) powering the LED. As its charge depletes, the voltage drops, and the LED dims. However, controlling LED brightness this way is a great deal less accurate than PWM, creating color distortion at low brightness. See related Android Police article.