This is a control library for the M8058E, M8058S and M8026S IC, which can play multiple melodies using a single GPIO. Connect the commPin to the PA3 port. Connect the nextPin to the PA2 port. For details on each port and melody, please refer to the datasheet.
For Arduino IDE users:
Use the Library Manager to install this library or download and add ZIP file. This software is released under the MIT License, see LICENSE.txt.