arduino code for magic stairs