Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Servo ros_lib_kinetic
Buzzer.h
00001 #include "mbed.h" 00002 00003 #ifndef BUZZER_H 00004 #define BUZZER_H 00005 00006 #define Buzz PA_5 00007 00008 00009 class cBuzzer 00010 { 00011 public: 00012 cBuzzer(DigitalOut Buzz); //Constructor, initialises the outputs 00013 void Beep(); 00014 void buzzer_on(); 00015 void buzz_off(); 00016 private: 00017 DigitalOut _Buzz; 00018 00019 }; 00020 00021 00022 00023 00024 #endif
Generated on Wed Jul 13 2022 08:03:54 by
1.7.2