3 ms·
Or the digital way: on the Commodore 64 disk drive (the 1541), you'd flip a bit of a certain memory-mapped location to switch the LED on or off. Doing this a va
by Luc 15y ago
Or the digital way: on the Commodore 64 disk drive (the 1541), you'd flip a bit of a certain memory-mapped location to switch the LED on or off. Doing this a variable amount of times per second would result in a smoothly fading led. Not sure if anyone ever made a sinusoidal fade, but there were demo's with the LED following the beat of the music.
- rflrob 15y agoPulse width modulation (PWM) is a pretty common technique. This article seems to be more about measuring the actual waveform Apple uses. It even says that the PWM used in the original introduced artifacts into the measured waveform.
- PedroDiogo_ 15y agoSomething like PWM? I bet Macs don't generate analog voltages to fade the LED, it would be expensive.
- wizard_2 15y agoLEDs also don't change brightness with voltage, they do with amperage and usually have an optimal amperage for the LED's design. Brightness can be controlled many ways, the most common way is to use Pulse Width Modulation. It's also a common power saving technique. http://www.reuk.co.uk/LED-Dimmer-Circuit.htm http://www.reuk.co.uk/LED-Dimmer-Circuit.htm
- djahng 15y agoThe patent they reference in the article states that the LED's current is PWMed, where the modulation function is sinusoidal.
- rachelbythebay 15y agoI saw someone do exactly this with a 1541 at a party in the summer of 1990: up, down, up, down. It didn't quite do Apple's special rhythm, naturally, but it was quite a shock the first time I saw it.
- hammock 15y agoSounds like quite a party.
- mturmon 15y agoIt would put you right to sleep.
- unwind 15y agoNot sure if you're being sarcastic, but the OP probably refered to a demo party (http://en.wikipedia.org/wiki/Demoparty http://en.wikipedia.org/wiki/Demoparty), aka "copy party". In other words, a place where someone showing off a diskdrive indicator light taken over for other purposes is totally on-topic.