![](/media/cache/profiles/e5815151957be36ad2085b7a1a02c5cc.jpg.50x50_q85.jpg)
Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.
Dependencies: Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed
Diff: Console.h
- Revision:
- 22:bf5aa20b9df0
- Child:
- 23:0927e605af4b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Console.h Fri Sep 06 08:36:21 2013 +0000 @@ -0,0 +1,26 @@ +#ifndef Console_H_2013_02_03_ +#define Console_H_2013_02_03_ + +#include "mbed.h" + +class Console +{ + public: + Console(PinName tx, PinName rx); + ~Console(); + + public: + int getid(); + uint8_t getheader(); + uint16_t get_int_cr(); + void printf(char* str); + + private: + uint8_t getc_wait(); + uint8_t getc_nowait(); + + private: + Serial* serial; +}; + +#endif \ No newline at end of file