NOT FINISHED YET!!! My first try to get a self built fully working Quadrocopter based on an mbed, a self built frame and some other more or less cheap parts.
Diff: PC/PC.cpp
- Revision:
- 8:d25ecdcdbeb5
- Parent:
- 7:9d4313510646
--- a/PC/PC.cpp Mon Oct 15 17:23:06 2012 +0000 +++ b/PC/PC.cpp Mon Oct 15 19:03:17 2012 +0000 @@ -1,8 +1,10 @@ #include "PC.h" #include "mbed.h" -PC::PC(PinName tx, PinName rx) : Serial(tx, rx) +PC::PC(PinName tx, PinName rx, int baudrate) : Serial(tx, rx) { + baud(baudrate); + cls(); }