Erste version der Software für der Prototyp

main.cpp

Committer:
borlanic
Date:
2018-03-29
Revision:
0:380207fcb5c1
Child:
1:d5c5bb30ac90

File content as of revision 0:380207fcb5c1:

#include "mbed.h"
#include "EncoderCounter.h"
#include "IMU.h"
#include "Controller.h"

 // create miscellaneous periphery objects
DigitalOut led1(LED1);

// create motor control objects

// create distance sensor objects

// create robot controller objects

// create serial comunication objects, bluetooth/wifi

// enter main loop
int main()
{
// instance objects

    //IMU
    //controller
    //stateMachine

    while (true) {
        
        //printf tests
        
        led1 = !led1;
        wait(0.5);
    }
}