Program za mjerenje i ispis brzine sa reed switchom.
Dependencies: mbed BrzinaVrtnje TextLCD
main.cpp@0:6bcf122e8187, 2020-07-17 (annotated)
- Committer:
- lhorvat
- Date:
- Fri Jul 17 11:36:54 2020 +0000
- Revision:
- 0:6bcf122e8187
Program za mjerenje i ispis brzine vrtnje sa reed switch.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lhorvat | 0:6bcf122e8187 | 1 | #include "mbed.h" |
lhorvat | 0:6bcf122e8187 | 2 | #include "BrzinaVrtnje.h" |
lhorvat | 0:6bcf122e8187 | 3 | int main() |
lhorvat | 0:6bcf122e8187 | 4 | { |
lhorvat | 0:6bcf122e8187 | 5 | BrzinaV brzina(p18); |
lhorvat | 0:6bcf122e8187 | 6 | while(1){ |
lhorvat | 0:6bcf122e8187 | 7 | brzina; |
lhorvat | 0:6bcf122e8187 | 8 | } |
lhorvat | 0:6bcf122e8187 | 9 | |
lhorvat | 0:6bcf122e8187 | 10 | } |
lhorvat | 0:6bcf122e8187 | 11 | |
lhorvat | 0:6bcf122e8187 | 12 | |
lhorvat | 0:6bcf122e8187 | 13 |