Fork of the espurna firmware for `mhsw` switches
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.
|
/*
|
|
|
|
GPIO MODULE
|
|
|
|
Copyright (C) 2017-2019 by Xose Pérez <xose dot perez at gmail dot com>
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "espurna.h"
|
|
#include "libs/BasePin.h"
|
|
|
|
constexpr const size_t GpioPins = 17;
|
|
|
|
bool gpioValid(unsigned char gpio);
|
|
bool gpioGetLock(unsigned char gpio);
|
|
bool gpioReleaseLock(unsigned char gpio);
|
|
|
|
void gpioSetup();
|