Beep 1 time when switch pressed

Method 1 Using the “If … becomes true, do … one time” block

https://code.gogoboard.org/#/program/34464d0b-f94b-4866-a452-8a2307973526

Method 2 Using the “wait until …” block

https://code.gogoboard.org/#/program/8716b6e7-13b8-4772-bbb8-586ad0cf5d43