Arduino Code Using Switch Case