31 lines
424 B
C++
31 lines
424 B
C++
#include "api.h"
|
|
|
|
/* TO DO
|
|
* Terminar las funciones wallfront, wallright, wallleft
|
|
* Definir los pines usados en mm.hpp
|
|
*/
|
|
|
|
bool API::wallFront() {
|
|
bool wallfront;
|
|
return wallfront;
|
|
}
|
|
|
|
bool API::wallRight() {
|
|
bool wallright;
|
|
return wallright;
|
|
}
|
|
|
|
bool API::wallLeft() {
|
|
bool wallleft;
|
|
return wallleft;
|
|
}
|
|
|
|
void API::moveForward(int distance) {
|
|
}
|
|
|
|
void API::turnRight() {
|
|
}
|
|
|
|
void API::turnLeft() {
|
|
}
|