George Carlin’s Favorite Motel Sign

This construct is inspired by this clip from George Carlin’s HBO special: You are all diseased, starting from 1:52.

Warning: extremely profane.

This project is a modification of the original LED tutorial/sample code. The supposed effect: Sleep-LED and F-ck-LED alternately lights up and turns off, with delays of one second, for 2 times. Sleep-LED waits for F-ck-LED to turn off at the final around of alternate light-up so that they are both off at the start of the simultaneous sequence. Simultaneous sequence lasts for 3 rounds of “on” and “off” of identical timing the LEDs then loop back to the start.

In order to control Sleep and F-ck seperately, I was forced to use two PINs. Also, in order to simplify the code I defined two functions (in addition to the fuction loop and setup), one for the alternate sequence, the other for the simultaneous sequence.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: