Beep Note () For () Secs | |
beep note () for () secs | |
Category | EV3 |
Type | Stack |
Introduced in | 3.0 |
The beep note () for () secs block is a stack block and a LEGO MINDSTORMS EV3 block. The block beeps the specified MIDI note on the EV3 unit for the specified number of seconds.
Example Uses
Some uses for the Beep Note () For () Secs block are:
- Playing music:
when green flag clicked beep note (60) for (0.5) secs beep note (60) for (0.5) secs beep note (67) for (0.5) secs beep note (67) for (0.5) secs beep note (69) for (0.5) secs beep note (69) for (0.5) secs beep note (67) for (1.0) secs
- Setting an alarm:
when distance \< (30) repeat (50) beep note (88) for (1) secs wait (0.5) seconds end