kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/blink_tabs' into 'master'
examples/blink: convert tabs to spaces See merge request espressif/esp-idf!12065pull/6491/head
commit
cd427c1712
|
@ -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