Grundfunktionen für Micromouse
Dependencies: AutomationElements mbed
main.cpp
- Committer:
- wengefa1
- Date:
- 2018-04-22
- Revision:
- 1:4808f55970e8
- Parent:
- 0:e38b500d6e74
File content as of revision 1:4808f55970e8:
#include "mbed.h" #include "Controller.h" #include "MotorDriver.h" #include "ReadFinalLine.h" #include "ReadSensor.h" int answer; int main() { startup(); /*while(1) { printf("%f\n", ReadSensorValue(1)); }*/ while(1){ driveOne(3,2); wait(1); turnRight(1); turnRight(1); } }