Kompletter OTA Flash-Prozess mit Server (hab zwischencommits vergessen ups)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include "pico/stdlib.h"
|
||||
#include "pico/cyw43_arch.h"
|
||||
|
||||
#ifndef LED_DELAY_MS
|
||||
#define LED_DELAY_MS 80
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
if (cyw43_arch_init()) {
|
||||
return -1;
|
||||
}
|
||||
while (true) {
|
||||
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, true);
|
||||
sleep_ms(LED_DELAY_MS);
|
||||
cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, false);
|
||||
sleep_ms(LED_DELAY_MS);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user