圧電ブザーをwaitなしで好きなように鳴らすライブラリ

Dependents:   Tourobo2022_TBCMotorDriver

Revision:
2:cd0d402e06c9
Parent:
1:96bd2135c3bf
Child:
3:a5296d97ba97
--- a/buzzer.h	Fri Oct 04 10:23:05 2019 +0000
+++ b/buzzer.h	Fri Oct 11 17:26:37 2019 +0000
@@ -12,6 +12,10 @@
 
 class buzzer {
     public:
+        /** Create a buzzer instance connected to IOpin
+        *
+        * @param buzzerPin buzzer connect pin
+        */
         buzzer(PinName buzzerPin);
         void output(unsigned int count,float period);
         void output(bool buzzerStates);