Boboter
Loading...
Searching...
No Matches
_rgb_leds_task.cpp File Reference
#include "tasks.h"
#include <esp_random.h>
#include "include/robot.h"
#include "helpers/delay.h"
#include "helpers/predef_colors.h"
#include "lib/logger/logger.h"

Namespaces

namespace  Task
 A namespace containing all the custom FreeRTOS tasks the robot uses.

Macros

#define polling_delay(ms)
 Macro that wraps polling_delay_callback(ms) and checks if it needs to skip to next iteration of the loop.

Functions

void Task::rgb_leds_task (void *params)

Variables

constexpr const char * TAG = "Task::rgb_leds_task"
constexpr uint8_t POLLING_DELAY_WAIT_MS = 10

Detailed Description

Authors
MarioS271

Macro Definition Documentation

◆ polling_delay

#define polling_delay ( ms)
Value:
if (polling_delay_callback(ms, changed)) { \
continue; \
} else { \
changed = false; \
}

Macro that wraps polling_delay_callback(ms) and checks if it needs to skip to next iteration of the loop.

Variable Documentation

◆ POLLING_DELAY_WAIT_MS

uint8_t POLLING_DELAY_WAIT_MS = 10
constexpr

◆ TAG

const char* TAG = "Task::rgb_leds_task"
constexpr