]>
git.scottworley.com Git - tattlekey/blob - client/tattlekey.c
ec7710789fbf6efcc65e8cc7b085fe3f597a8f8a
1 #include "pico/cyw43_arch.h"
2 #include "pico/stdlib.h"
10 if (cyw43_arch_init_with_country(CYW43_COUNTRY_USA
))
11 signal_error_by_blinking();
13 cyw43_arch_enable_sta_mode();
15 if (cyw43_arch_wifi_connect_timeout_ms(wifi_ssid
, wifi_pass
,
16 CYW43_AUTH_WPA2_AES_PSK
, 10000))
17 signal_error_by_blinking();
20 for (int i
= 0;; i
++) {