play a buzzer using arduino

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 ?

Réponses (2)

Madhu Govindarajan
Madhu Govindarajan le 16 Avr 2019

0 votes

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

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by