" />

gb.begin

DESCRIPTION


Sets the volume of the Gamebuino’s Speaker Using 0 will mute it, 1 will allow it to make sound.

SYNTAX


gb.sound.setVolume(volume, channel);

VALUE


  • volume (byte): The volume of the speaker.
  • channel (unsigned byte) (optional): Specifies which channel’s volume is changed.

0