Mirror of espurna firmware for wireless switches and more
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
380 B

/*
LED MODULE
Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com>
*/
#pragma once
#include <cstddef>
enum class LedMode {
Manual,
WiFi,
Relay,
RelayInverse,
FindMe,
FindMeWiFi,
On,
Off,
Relays,
RelaysWiFi
};
size_t ledCount();
bool ledStatus(size_t id, bool status);
bool ledStatus(size_t id);
void ledSetup();