Simulacija rada semafora s 4 LED diode, 7 segmentog display-a, zvučnika, tipkala i potenciometra

Dependencies:   mbed

https://os.mbed.com/media/uploads/dcindric/picture1.png

Committer:
dcindric
Date:
Fri May 07 10:33:28 2021 +0000
Revision:
1:1b7ec94fe4ab
Parent:
0:2531c2b824f9
Konstukcijski Cindric

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dcindric 0:2531c2b824f9 1 #ifndef BUZZER_H
dcindric 0:2531c2b824f9 2 #define BUZZER_H
dcindric 0:2531c2b824f9 3 #include "mbed.h"
dcindric 0:2531c2b824f9 4
dcindric 0:2531c2b824f9 5 class Buzz
dcindric 0:2531c2b824f9 6 {
dcindric 0:2531c2b824f9 7 public:
dcindric 0:2531c2b824f9 8 Buzz (PinName pin);
dcindric 0:2531c2b824f9 9 void buzz ();
dcindric 0:2531c2b824f9 10 void buzzOff();
dcindric 0:2531c2b824f9 11 private :
dcindric 0:2531c2b824f9 12 PwmOut _pwm;
dcindric 0:2531c2b824f9 13 };
dcindric 0:2531c2b824f9 14
dcindric 0:2531c2b824f9 15 #endif