ESP32-Console

This commit is contained in:
2025-01-15 10:12:33 -05:00
parent 6ae392e577
commit 3eb21b9f31

View File

@@ -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.end = arg_end(2);
const esp_console_cmd_t gpio_set_cmd = {
.command = "gpio",
.help = "Sets/Gets GPIOs",
.command = "gpio-set",
.help = "Sets GPIOs logic levels",
.hint = NULL,
.func = &exec_gpio_set_cmd,
.argtable = &gpio_set_args