magicstaff Code for the Magic Staff project This is the code that I used to drive my "Magic Staff" arduino project. Full details on the project can be seen here: http://planet-geek.com/category/hacks/magicstaff/