{"width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog-e.uosoft.net%2Fentry%2F20230328%2F1679978304\" title=\"Raspberry Pi Pico W \u3067Wifi\u63a5\u7d9a\u306e\u30e1\u30e2 (MicroPython) - \u96fb\u5b50\u8da3\u5473\u306e\u90e8\u5c4b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","blog_url":"https://blog-e.uosoft.net/","url":"https://blog-e.uosoft.net/entry/20230328/1679978304","published":"2023-03-28 13:38:24","title":"Raspberry Pi Pico W \u3067Wifi\u63a5\u7d9a\u306e\u30e1\u30e2 (MicroPython)","author_url":"https://blog.hatena.ne.jp/uosoft/","blog_title":"\u96fb\u5b50\u8da3\u5473\u306e\u90e8\u5c4b","provider_name":"Hatena Blog","categories":["Raspberry Pi","\u96fb\u5b50\u5de5\u4f5c","\u958b\u767a\u30e1\u30e2"],"description":"Raspberry Pi Pico W \u3067Wifi\u63a5\u7d9a\u3059\u308b\u30b3\u30fc\u30c9\u306e\u30e1\u30e2\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u6709\u52b9\u5316 import network wlan = network.WLAN(network.STA_IF) wlan.active(True) Wi-Fi\u306e\u63a5\u7d9a ssid = \"(\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u306eSSID)\" password = \"(\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9)\" wlan.connect(ssid, password) \u63a5\u7d9a\u304c\u5b8c\u4e86\u3059\u308b\u306e\u3092\u5f85\u3064 while not wlan.isconnected(): pass \u3053\u308c\u3067\u63a5\u7d9a\u3067\u304d\u308b\u4ee5\u4e0b\u306fWifi\u306b\u63a5\u7d9a\u3057\u3066\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092\u8868\u793a\u3059\u308b\u307e\u3067\u306e\u30b5\u30f3\u2026","author_name":"uosoft","image_url":"https://m.media-amazon.com/images/I/41p4jZtiGsL._SL500_.jpg","provider_url":"https://hatena.blog","version":"1.0"}