Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.

Dependencies:   Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed

Console.h

Committer:
syundo0730
Date:
2013-09-06
Revision:
22:bf5aa20b9df0
Child:
23:0927e605af4b

File content as of revision 22:bf5aa20b9df0:

#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