Simulacija rada semafora s 4 LED diode, 7 segmentog display-a, zvučnika, tipkala i potenciometra
Dependencies: mbed
svjetla.h@0:2531c2b824f9, 2021-05-06 (annotated)
- Committer:
- dcindric
- Date:
- Thu May 06 18:55:48 2021 +0000
- Revision:
- 0:2531c2b824f9
- Child:
- 1:1b7ec94fe4ab
Konstukcijski Cindric
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dcindric | 0:2531c2b824f9 | 1 | // SegDisplay.h file for Exercise 24 |
dcindric | 0:2531c2b824f9 | 2 | #ifndef SVJETLA_H |
dcindric | 0:2531c2b824f9 | 3 | #define SVJETLA_H |
dcindric | 0:2531c2b824f9 | 4 | #include "mbed.h" |
dcindric | 0:2531c2b824f9 | 5 | |
dcindric | 0:2531c2b824f9 | 6 | void semafor(void); |
dcindric | 0:2531c2b824f9 | 7 | |
dcindric | 0:2531c2b824f9 | 8 | void stop(void); |
dcindric | 0:2531c2b824f9 | 9 | void dopunsko(void); |
dcindric | 0:2531c2b824f9 | 10 | void pripremi(void); |
dcindric | 0:2531c2b824f9 | 11 | void kreni(void); |
dcindric | 0:2531c2b824f9 | 12 | void uspori(void); |
dcindric | 0:2531c2b824f9 | 13 | void kvar(void); |
dcindric | 0:2531c2b824f9 | 14 | |
dcindric | 0:2531c2b824f9 | 15 | void funkcijaPjesaci(void); |
dcindric | 0:2531c2b824f9 | 16 | void pjesaci(void); |
dcindric | 0:2531c2b824f9 | 17 | void treperenje(void); |
dcindric | 0:2531c2b824f9 | 18 | |
dcindric | 0:2531c2b824f9 | 19 | #endif |