mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-13 06:57:09 +00:00
ESP32-Console
This commit is contained in:
@@ -141,6 +141,7 @@ static void register_gpio (void) {
|
|||||||
|
|
||||||
gpio_args.gpio = arg_int0(NULL, "gpio", "<pin>", "Specifies GPIO to be used");
|
gpio_args.gpio = arg_int0(NULL, "gpio", "<pin>", "Specifies GPIO to be used");
|
||||||
gpio_args.mode = arg_str0(NULL, "mode", "<in|out>", "Sets the mode of GPIO.");
|
gpio_args.mode = arg_str0(NULL, "mode", "<in|out>", "Sets the mode of GPIO.");
|
||||||
|
gpio_args.level = arg_int0(NULL, );
|
||||||
const esp_console_cmd_t gpio_cmd = {
|
const esp_console_cmd_t gpio_cmd = {
|
||||||
.command = "GPIO",
|
.command = "GPIO",
|
||||||
.help = "Sets/Gets GPIOs",
|
.help = "Sets/Gets GPIOs",
|
||||||
|
Reference in New Issue
Block a user