Dual Sketch wxwcution

May i store 2 sketch in Seeeduino and run one of it depending on a switch?