play a buzzer using arduino

33 次查看(过去 30 天)
Namila Bandara
Namila Bandara2016-9-12
hi i want to know how to play a buzzer with given frequency. previously i installed the latest arduino package to use the " playTone() function,but its says UNDEFINED (im using 2014a version) so are there any method to play a buzzer with given note frequencies ?

回答(2 个)

Swathi Pai
Swathi Pai 2019-4-13

Madhu Govindarajan
Madhu Govindarajan 2019-4-16
Have an arduino connected to MATLAB using a = arduino command. After that, what is the output when you type the following:


Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by