Y2KB040Buzzer (y2kb040buzzer v0.1.0)
Copy MarkdownDriver for the Y2KB-040 I2C buzzer/melody module (I2C address 0x16 by
default).
Summary
Functions
Sounds the buzzer.
pitch- the note to play,1-7length- the note duration,0-3times- the repeat count,0-3i2c_address- defaults to0x16
Closes the I2C bus reference returned by open/1.
Opens the I2C bus the buzzer is on.