Simon Ford
/
SerialTestv12
main.cpp@0:897751213263, 2009-08-31 (annotated)
- Committer:
- simon
- Date:
- Mon Aug 31 09:26:59 2009 +0000
- Revision:
- 0:897751213263
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon | 0:897751213263 | 1 | #include "mbed.h" |
simon | 0:897751213263 | 2 | |
simon | 0:897751213263 | 3 | Serial mc(p9, p10); |
simon | 0:897751213263 | 4 | |
simon | 0:897751213263 | 5 | int main() { |
simon | 0:897751213263 | 6 | mc.baud(19200); |
simon | 0:897751213263 | 7 | mc.putc(0xC2); |
simon | 0:897751213263 | 8 | mc.putc(0x7F); |
simon | 0:897751213263 | 9 | } |