TVZ Mechatronics Team
/
PURS_ZI_003
Learning classes.
main.cpp@1:0192d341e2d2, 2016-02-10 (annotated)
- Committer:
- tbjazic
- Date:
- Wed Feb 10 11:18:46 2016 +0000
- Revision:
- 1:0192d341e2d2
- Parent:
- 0:5e01d8006208
Initial.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tbjazic | 0:5e01d8006208 | 1 | #include "mbed.h" |
tbjazic | 0:5e01d8006208 | 2 | #include "Bomba.h" |
tbjazic | 0:5e01d8006208 | 3 | |
tbjazic | 0:5e01d8006208 | 4 | int main() { |
tbjazic | 0:5e01d8006208 | 5 | Bomba tnt(p14); |
tbjazic | 0:5e01d8006208 | 6 | while(true) { |
tbjazic | 0:5e01d8006208 | 7 | // do something else |
tbjazic | 0:5e01d8006208 | 8 | wait(1); |
tbjazic | 0:5e01d8006208 | 9 | } |
tbjazic | 0:5e01d8006208 | 10 | } |