mobile robot control with artificial hormones

Dependencies:   Communication_Robot RTC-DS1307 iSerial mbed

Fork of Andante_v00 by potiwat ngamkajornwiwat

main.h

Committer:
soulx
Date:
2017-06-07
Revision:
9:d0454a04f433
Parent:
5:aae71a94cb41

File content as of revision 9:d0454a04f433:

#ifndef MAINp_H
#define MIANp_H

#include "mbed.h"
#include "communication.h"
#include "protocol.h"

#include "Rtc_Ds1307.h"



void Init_servo();
void Init_foreground();


void setControl(ANDANTE_PROTOCOL_PACKET *packet);
void getCommand();
void getSensor();

void setFrontAngle(float precent);
void setRearAngle(float precent);
void setSpeedControl(float precent);



#endif