]>
git.scottworley.com Git - tattlekey/blob - client/tattlekey.c
3c5915193e4c25be5a5c0af16637db61ffe89549
1 #include "pico/cyw43_arch.h"
2 #include "pico/stdlib.h"
6 char ssid
[] = "THEWIFISSID";
7 char pass
[] = "THEWIFIPASSWORD";
11 if (cyw43_arch_init_with_country(CYW43_COUNTRY_USA
))
12 signal_error_by_blinking();
14 cyw43_arch_enable_sta_mode();
16 if (cyw43_arch_wifi_connect_timeout_ms(ssid
, pass
, CYW43_AUTH_WPA2_AES_PSK
,
18 signal_error_by_blinking();
20 signal_success_by_blinking();