Created arduino sketch for the scope. Implemented a toggle switch class with debouncing functionality