play a buzzer using arduino

36 次查看(过去 30 天)
Namila Bandara
Namila Bandara 2016-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:
methods(a)

类别

Help CenterFile Exchange 中查找有关 Run on Target Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by