Code for an arduino powered princess wand