Završni ispit R3
Dependencies: TempSenzor mbed
main.cpp@0:22ee42d920cf, 2016-06-23 (annotated)
- Committer:
- tbjazic
- Date:
- Thu Jun 23 13:50:59 2016 +0000
- Revision:
- 0:22ee42d920cf
initial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tbjazic | 0:22ee42d920cf | 1 | #include "mbed.h" |
tbjazic | 0:22ee42d920cf | 2 | #include "TempSenzor.h" |
tbjazic | 0:22ee42d920cf | 3 | |
tbjazic | 0:22ee42d920cf | 4 | int main() { |
tbjazic | 0:22ee42d920cf | 5 | TempSenzor kotao(p19, p20, p14); // pot1, pot2, centralna tipka |
tbjazic | 0:22ee42d920cf | 6 | while(true) { |
tbjazic | 0:22ee42d920cf | 7 | // do something else |
tbjazic | 0:22ee42d920cf | 8 | wait(1); |
tbjazic | 0:22ee42d920cf | 9 | } |
tbjazic | 0:22ee42d920cf | 10 | } |