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.
PC/PC.cpp
- Committer:
- maetugr
- Date:
- 2012-10-15
- Revision:
- 8:d25ecdcdbeb5
- Parent:
- 7:9d4313510646
File content as of revision 8:d25ecdcdbeb5:
#include "PC.h" #include "mbed.h" PC::PC(PinName tx, PinName rx, int baudrate) : Serial(tx, rx) { baud(baudrate); cls(); } void PC::cls() { printf("\x1B[2J"); } void PC::locate(int Spalte, int Zeile) { printf("\x1B[%d;%dH", Zeile + 1, Spalte + 1); }