Class: Tinkerforge::BrickletPiezoSpeakerV2

Inherits:
Object
  • Object
show all
Defined in:
lib/tinderfridge/devices/bricklet_piezo_speaker_v2/bricklet_piezo_speaker_v2.rb

Instance Method Summary collapse

Instance Method Details

#blip(volume = 0) ⇒ Object

Beeps briefly.

Volume (0..10) defaults to 0.



8
9
10
# File 'lib/tinderfridge/devices/bricklet_piezo_speaker_v2/bricklet_piezo_speaker_v2.rb', line 8

def blip(volume=0)
  set_beep(600, volume, 80)
end