Archive for the ‘Other Peoples Posts’ Category

Arduino Oddity — Pulse Width Modulation (PWM) on Only Certain Ports

9 January 2008 Leave a comment

UPDATE II: Edited links to Makezine’s protoshield and TodBot’s candle light code.

UPDATE: I’m an idiot. Once I removed the protoshield, I saw that the board has clearly marked these pins as PWM! D’oh!  I guess I got too comfortable using the shield and never bothered to actually look at the Diecimila itself.

Hmmm… I was modifying Todbot’s candlelight effect code to use multiple LEDs, but it seems that only certain ports on the Arduino allow such (3, 5, 6, 9, 10, and 11); the others merely flash on/off. The whole point of the code is to illuminate the LED in varying brightness such that it looks like a flickering candle.

I’m using this particular prototyping shield (others can be found here, here, here, or here) and ran the tests again on the bare Arduino, but found nothing wrong with the shield. I need to research this to find out why. I’ll update this post when I discover the reason.


Interesting Map: Countries whose GDP Matches Individual US States’

13 December 2007 Leave a comment

Econ professor Mark Perry, University of Michigan, has on his site this map of the United States. Instead of state names, the name of a nation whose gross domestic product (GDP) is equal to that state’s.

US State GDP in World-Wide Terms

I came to this by way of the sidebar in Coyote Blog, to Houston’s Clear Thinker’s post.

Now This is an Interesting Guy

3 December 2007 Leave a comment

Power Line’s Scott Johnson has posted the fifth in a series of writings by a guy I find tremendously interesting and funny, William Katz.  Katz has worked for the New York Times, the Tonight Show, and even the CIA.  This installment‘s topic is on the Hollywood writer’s strike.