SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
testmod.h
1#include "module.hpp"
2
3#include "test_a.h"
4#include "test_b.h"
5
6void testModules() {
7 Log.i("Main", "Starting");
8
9 Thread::addThread([](void *) {
10 while (1) {
11 Log.d("test", "test");
12 Thread::delay(100);
13 } }, 0, 2048);
14
15 Module::Module_t::startManager();
16}
Logging::Log_t Log
The global logging object.
void d(LOG_TAG TAG, LOG_MSG message)
Log a string using a debug tag.
void i(LOG_TAG TAG, LOG_MSG message)
Log a string using an info tag.