mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
* Refactor everything under one namespace, turn most things into classes, add support for selecting ROI in cameraHandler, add state management * Remove unsued main.py file - other projects are working on that implementation
19 lines
346 B
C++
19 lines
346 B
C++
#pragma once
|
|
#include <Arduino.h>
|
|
|
|
namespace OpenIris{
|
|
|
|
class LEDManager{
|
|
private:
|
|
uint8_t ledPin;
|
|
|
|
public:
|
|
explicit LEDManager(uint8_t pin) : ledPin(pin) {}
|
|
|
|
void setupLED() const;
|
|
void on() const;
|
|
void off() const;
|
|
void blink(unsigned int time);
|
|
void displayStatus();
|
|
};
|
|
} |