News for hackers. Stuff that matters.
Re:Reverse engineering the Mac ‘breathing’ LED by Luc on Saturday June 18, 2011 @12:39PM (#2668937)
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.
Re:Reverse engineering the Mac ‘breathing’ LED by rflrob on Saturday June 18, 2011 @01:21PM (#2669047)
Pulse 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.
Re:Reverse engineering the Mac ‘breathing’ LED by rachelbythebay on Saturday June 18, 2011 @05:53PM (#2669621)
I 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.
Re:Reverse engineering the Mac ‘breathing’ LED by hammock on Saturday June 18, 2011 @10:15PM (#2670005)
Sounds like quite a party.
Re:Reverse engineering the Mac ‘breathing’ LED by unwind on Monday June 20, 2011 @07:24AM (#2673692)
Not sure if you're being sarcastic, but the OP probably refered to a demo party (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.

Re:Reverse engineering the Mac ‘breathing’ LED by mturmon on Sunday June 19, 2011 @03:51AM (#2670486)
It would put you right to sleep.
Re:Reverse engineering the Mac ‘breathing’ LED by PedroDiogo_ on Saturday June 18, 2011 @01:23PM (#2669051)
Something like PWM?

I bet Macs don't generate analog voltages to fade the LED, it would be expensive.

Re:Reverse engineering the Mac ‘breathing’ LED by wizard_2 on Saturday June 18, 2011 @04:42PM (#2669481)
LEDs 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

Re:Reverse engineering the Mac ‘breathing’ LED by djahng on Sunday June 19, 2011 @04:36AM (#2670555)
The patent they reference in the article states that the LED's current is PWMed, where the modulation function is sinusoidal.