Programming with MicroPython: Buzzer
Import FutureBoard Library
from future import *03: Buzzer
1. Emitting a frequency
buzzer.tone(freq,d=0.5)2. Emitting a note
buzzer.note(note,beats=1)3. Resting
buzzer.rest(beats=1)4. Setting the bpm
5. Stopping the buzzer
6. Playing a melody
Last updated