Untested port of the Ishtar protocol, actually not much of a port since there was really not much to change. http://kisvm2.epfl.ch/record/125676/files/emav08-ishtar-final.pdf
main.cpp@0:086ea145b6d7, 2011-05-12 (annotated)
- Committer:
- ssozonoff
- Date:
- Thu May 12 08:30:17 2011 +0000
- Revision:
- 0:086ea145b6d7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ssozonoff | 0:086ea145b6d7 | 1 | #include "mbed.h" |
ssozonoff | 0:086ea145b6d7 | 2 | |
ssozonoff | 0:086ea145b6d7 | 3 | DigitalOut myled(LED1); |
ssozonoff | 0:086ea145b6d7 | 4 | |
ssozonoff | 0:086ea145b6d7 | 5 | int main() { |
ssozonoff | 0:086ea145b6d7 | 6 | while(1) { |
ssozonoff | 0:086ea145b6d7 | 7 | myled = 1; |
ssozonoff | 0:086ea145b6d7 | 8 | wait(0.2); |
ssozonoff | 0:086ea145b6d7 | 9 | myled = 0; |
ssozonoff | 0:086ea145b6d7 | 10 | wait(0.2); |
ssozonoff | 0:086ea145b6d7 | 11 | } |
ssozonoff | 0:086ea145b6d7 | 12 | } |