A program written in PICAXE to automate a lamp rotation and activation