ADD create files for multi tasking and modify the main

This commit is contained in:
fastium
2024-11-26 16:26:41 +01:00
parent 1ba466569e
commit c92de22c09
9 changed files with 697 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
#include "mbed.h" // NOLINT
#include "mbed_trace.h"
//#include "static_scheduling/bike_system.hpp"
#include "static_scheduling_with_event/bike_system.hpp"
#include "multi_tasking/bike_system.hpp"
#if defined(MBED_CONF_MBED_TRACE_ENABLE)
#define TRACE_GROUP "MAIN"
@@ -23,7 +23,7 @@ int main() {
// bikeSystem.start();
// bikeSystem.startWithEventQueue();
static_scheduling_with_event::BikeSystem bikeSystem;
multi_tasking::BikeSystem bikeSystem;
bikeSystem.start();
}