ESP32-Console

This commit is contained in:
2025-01-17 18:46:12 -05:00
parent 57e2c75818
commit ffff56b79f
4 changed files with 211 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ static int exec_gpio_get_cmd(int argc, char **argv) {
//gpio_dump_io_configuration(stdout, 1ULL << gpio_get_args.gpio->ival[0]);
printf("GPIO #%d level is %d\n", gpio_get_args.gpio->ival[0], gpio_get_level(gpio_get_args.gpio->ival[0]));
printf("\n %i ", gpio_get_level(GPIO_NUM_8));
printf("GPIO level was changed.");
s = 0;
}
// Dump GPIO configuration information.