USBUART - IRQ
Dependents: MPU9250AHRS_UBSUART-IRQ
Fork of MODSERIAL by
Diff: example2.cpp
- Revision:
- 15:a1d9e745d71e
- Parent:
- 13:70bb7c1769fa
- Child:
- 18:21ef26402365
--- a/example2.cpp Tue Feb 08 00:57:48 2011 +0000 +++ b/example2.cpp Sat Feb 12 08:29:10 2011 +0000 @@ -142,7 +142,7 @@ messageReceived = false; messageSystem.baud(115200); messageSystem.attach(&messageReceive, MODSERIAL::RxAutoDetect); - messageSystem.autoDectectChar('\n'); + messageSystem.autoDetectChar('\n'); // Enable pullup resistors on pins. P21.mode(PullUp); P22.mode(PullUp); P23.mode(PullUp); P24.mode(PullUp);