This is my personal code for S.H.A.D.O.W. (Small Handheld Arduino Droid Operating Wand) that I use to control my R5 Astromech Droid.