修正済みby皆川

Dependencies:   mbed Servo cansat_integrated_2 BMP180

Dependents:   cansat_integrated_2

Movement.h

Committer:
tsubasa_nakajima
Date:
2021-12-19
Revision:
13:c482c4d7a585
Parent:
8:7209c810309d

File content as of revision 13:c482c4d7a585:

#ifndef MOVEMENT_H
#define MOVEMENT_H

#include "mbed.h"
#include "Servo.h"   

class Movement
{    
public:

//停止
    void stop();
//前進
    void move_forward(int time);
//後退
    void move_backward();
//右に曲がる
    void turn_right(int theta);
//左に曲がる
    void turn_left(int theta);
};

#endif