Forked version by ATalkingDog
Dependencies: mbed existing_references
main.cpp@0:d8cd915552c0, 2021-05-16 (annotated)
- Committer:
- helenh
- Date:
- Sun May 16 12:22:32 2021 +0000
- Revision:
- 0:d8cd915552c0
- Child:
- 1:26da8b1fd7f4
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
helenh | 0:d8cd915552c0 | 1 | #include "mbed.h" |
helenh | 0:d8cd915552c0 | 2 | #include "Serial_Transport.h" |
helenh | 0:d8cd915552c0 | 3 | |
helenh | 0:d8cd915552c0 | 4 | |
helenh | 0:d8cd915552c0 | 5 | |
helenh | 0:d8cd915552c0 | 6 | |
helenh | 0:d8cd915552c0 | 7 | |
helenh | 0:d8cd915552c0 | 8 | DigitalOut myled(LED1); |
helenh | 0:d8cd915552c0 | 9 | //Interruptin button(Do_Recv); |
helenh | 0:d8cd915552c0 | 10 | |
helenh | 0:d8cd915552c0 | 11 | |
helenh | 0:d8cd915552c0 | 12 | |
helenh | 0:d8cd915552c0 | 13 | |
helenh | 0:d8cd915552c0 | 14 | int main() { |
helenh | 0:d8cd915552c0 | 15 | while(1) { |
helenh | 0:d8cd915552c0 | 16 | // myled = 1; |
helenh | 0:d8cd915552c0 | 17 | // wait(0.2); |
helenh | 0:d8cd915552c0 | 18 | // myled = 0; |
helenh | 0:d8cd915552c0 | 19 | // wait(0.2); |
helenh | 0:d8cd915552c0 | 20 | |
helenh | 0:d8cd915552c0 | 21 | // Interruptinbutton(Do_Recv); |
helenh | 0:d8cd915552c0 | 22 | //openmv_port.attach(&Do_Recv,SerialBase::RxIrq); |
helenh | 0:d8cd915552c0 | 23 | openmv_init(); |
helenh | 0:d8cd915552c0 | 24 | } |
helenh | 0:d8cd915552c0 | 25 | } |
helenh | 0:d8cd915552c0 | 26 | |
helenh | 0:d8cd915552c0 | 27 |