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.
 
 
 
 
 
 

26 lines
475 B

/*
TERMINAL MODULE
Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com>
*/
#pragma once
#if TERMINAL_SUPPORT
#include "libs/EmbedisWrap.h"
using embedis_command_f = void (*)(Embedis*);
void terminalOK();
void terminalError(const String& error);
void terminalRegisterCommand(const String& name, embedis_command_f func);
void terminalInject(void *data, size_t len);
Stream& terminalSerial();
void terminalSetup();
#endif // TERMINAL_SUPPORT == 1