Category:Buzzer

From ElectroDragon Wiki
Revision as of 14:30, 1 July 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Specification

Active Buzzer

Passive buzzer

Passive buzzers don’t do anything themselves – the software needs to generate a waveform for any sound it wants to make. This example code uses PWM timings to play different notes – your buzzer should be connected to pin 9. Alternatively, take a look at the tone() function.

Buzzer Demo Code

Pages in category "Buzzer"

The following 2 pages are in this category, out of 2 total.