Alexandre Lemay
/
APP4_FunTimes
first
main.cpp
- Committer:
- ThierryLeonard
- Date:
- 2017-10-23
- Revision:
- 2:36faaaa70f8b
- Parent:
- 0:c67f69d9e82e
- Child:
- 3:f7a9f0784ca6
- Child:
- 4:a3c4a43f94f8
File content as of revision 2:36faaaa70f8b:
#include "mbed.h" #include <vector> DigitalOut myled(LED1); InterruptIn DO(p21); DigitalOut MO(p22); const int us_period = 500; void receive(vector<unsigned char> &data) { } void send(vector<unsigned char> &data) { } int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }