buzzer library
buzzer.h
- Committer:
- msmetko1
- Date:
- 2021-12-02
- Revision:
- 2:27fe105d4033
- Parent:
- 1:622b1d533a1c
File content as of revision 2:27fe105d4033:
#ifndef MBED_BEEP_H #define MBED_BEEP_H #include "mbed.h" namespace mbed { class Beep { public: Beep (PinName pin); void beep (float frekvencija, float vrijeme); void nobeep(); private : PwmOut _pwm; Timeout toff; }; } #endif