kopia lustrzana https://github.com/espressif/esp-idf
examples/blink: convert tabs to spaces
rodzic
654d4b8d72
commit
d8a3f59d29
|
@ -30,11 +30,11 @@ void app_main(void)
|
|||
gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT);
|
||||
while(1) {
|
||||
/* Blink off (output low) */
|
||||
printf("Turning off the LED\n");
|
||||
printf("Turning off the LED\n");
|
||||
gpio_set_level(BLINK_GPIO, 0);
|
||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
||||
/* Blink on (output high) */
|
||||
printf("Turning on the LED\n");
|
||||
printf("Turning on the LED\n");
|
||||
gpio_set_level(BLINK_GPIO, 1);
|
||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue