mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 13:10:17 +00:00
ESP32-Console
This commit is contained in:
@@ -149,8 +149,8 @@ static void register_set_gpio (void) {
|
|||||||
gpio_set_args.pwm = arg_int0("f", "pwm", "<num>", "Set PWM for GPIO.");
|
gpio_set_args.pwm = arg_int0("f", "pwm", "<num>", "Set PWM for GPIO.");
|
||||||
gpio_set_args.end = arg_end(2);
|
gpio_set_args.end = arg_end(2);
|
||||||
const esp_console_cmd_t gpio_set_cmd = {
|
const esp_console_cmd_t gpio_set_cmd = {
|
||||||
.command = "gpio",
|
.command = "gpio-set",
|
||||||
.help = "Sets/Gets GPIOs",
|
.help = "Sets GPIOs logic levels",
|
||||||
.hint = NULL,
|
.hint = NULL,
|
||||||
.func = &exec_gpio_set_cmd,
|
.func = &exec_gpio_set_cmd,
|
||||||
.argtable = &gpio_set_args
|
.argtable = &gpio_set_args
|
||||||
|
Reference in New Issue
Block a user