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