Learning classes.

Dependencies:   Bomba mbed

Committer:
tbjazic
Date:
Wed Feb 10 11:18:46 2016 +0000
Revision:
1:0192d341e2d2
Parent:
0:5e01d8006208
Initial.

Who changed what in which revision?

UserRevisionLine numberNew 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 }