ESP32-Console

This commit is contained in:
2025-01-15 09:16:05 -05:00
parent e86d794ea4
commit d4b44e860e

View File

@@ -141,7 +141,7 @@ static void register_gpio (void) {
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.level = arg_int0(NULL, "level", "<1|0>", "Sets the level of GPIO.");
gpio_args.level = arg_int0(NULL, "level", "<1|0>", "Sets the logical level of GPIO.");
const esp_console_cmd_t gpio_cmd = {
.command = "GPIO",
.help = "Sets/Gets GPIOs",