play a buzzer using arduino

49 views (last 30 days)
Namila Bandara
Namila Bandara on 12 Sep 2016
Answered: Madhu Govindarajan on 16 Apr 2019
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 ?

Answers (2)

Swathi Pai
Swathi Pai on 13 Apr 2019

Madhu Govindarajan
Madhu Govindarajan on 16 Apr 2019
Have an arduino connected to MATLAB using a = arduino command. After that, what is the output when you type the following:
methods(a)

Categories

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!