Cuboid.

Dependencies:   Cntrl_Libary

main.cpp

Committer:
pmic
Date:
18 months ago
Revision:
25:a9a8e60ff1c2
Parent:
17:0a980eacc81b

File content as of revision 25:a9a8e60ff1c2:

#include "mbed.h"
#include "platform/mbed_thread.h"

#include "Controller.h"

DigitalOut  led(LED1);

float Ts = 0.002f;
Controller controller(Ts);

int main()
{
    controller.start_loop();

    while(true) {
        /* visual feedback that the main task is executed */
        led = !led;
        thread_sleep_for(1000);
    }
}