2021-01-11 18:14:55 +01:00
|
|
|
/* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
|
2020-07-15 21:21:32 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-12 14:11:26 +01:00
|
|
|
#include <cstdint>
|
|
|
|
|
2020-07-15 21:21:32 +02:00
|
|
|
enum LED_MODE {
|
|
|
|
OFF,
|
|
|
|
SCAN,
|
|
|
|
ATTACK,
|
|
|
|
IDLE
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace led {
|
2021-01-11 18:14:55 +01:00
|
|
|
void setup();
|
|
|
|
void update();
|
|
|
|
void setMode(LED_MODE new_mode, bool force = false);
|
2021-01-12 14:11:26 +01:00
|
|
|
void setColor(uint8_t r, uint8_t g, uint8_t b);
|
2020-07-15 21:21:32 +02:00
|
|
|
}
|