Play beep from speaker on EV3 brick
Play a beep from the EV3 speaker for a short period, and then for a longer period.
Create a connection to the EV3 brick called
myev3 = legoev3;
Play a beep for the default duration of 0.1 second.
Play a beep for 1 second.
duration— Duration, in seconds
The duration of the beep in seconds, specified as a double.