Playing with MakeyMakey and Phillips Hue API


It’s useless #prototyping Friday. Used my #makeymakey , w/ spacebar clip hooked up to a paint can, with chicken scratch Javascript code w/ a keydown() event handler that listens for keyCode=32 (spacebar) and sends an ajax PUT request to the #hueapi #phillipshue which turns light 1 along with an html body tag background-color prop to red.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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