Supprime la del qui clignotte
This commit is contained in:
parent
09a8a29fbc
commit
dce2e51e95
6
main.c
6
main.c
@ -8,14 +8,8 @@
|
|||||||
|
|
||||||
void main(void)
|
void main(void)
|
||||||
{
|
{
|
||||||
stdio_init_all();
|
|
||||||
gpio_init(PICO_DEFAULT_LED_PIN);
|
|
||||||
gpio_set_dir(PICO_DEFAULT_LED_PIN, GPIO_OUT);
|
|
||||||
int led = 0;
|
|
||||||
while(1){
|
while(1){
|
||||||
printf("Exemple\n");
|
printf("Exemple\n");
|
||||||
gpio_put(PICO_DEFAULT_LED_PIN, led);
|
|
||||||
led = !led;
|
|
||||||
sleep_ms(1000);
|
sleep_ms(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user