# 各種ライブラリ導入
from m5stack import lcd
import time
import network
import urequests

# Wi-Fi系各種定義
wifi = network.WLAN(network.STA_IF)
wifi.active(True)
# SSID & PassWord入力
wifi.connect("nstudents", "nnnedjpwireless")

# While文で接続待ちをする
while not wifi.isconnected():
    lcd.print(".")
    time.sleep(0.1)

# Getしたデータを画面に表示する
response = urequests.get('http://jsonplaceholder.typicode.com/albums/1')
lcd.print("\n")
lcd.println(response.text)

686e38860ebd56a45ad2212b1c5ebbc6e7ddbcdc
<mask token>

<mask token>
wifi.active(True)
wifi.connect('nstudents', 'nnnedjpwireless')
while not wifi.isconnected():
    lcd.print('.')
    time.sleep(0.1)
<mask token>
lcd.print('\n')
lcd.println(response.text)

<mask token>
wifi = network.WLAN(network.STA_IF)
wifi.active(True)
wifi.connect('nstudents', 'nnnedjpwireless')
while not wifi.isconnected():
    lcd.print('.')
    time.sleep(0.1)
response = urequests.get('http://jsonplaceholder.typicode.com/albums/1')
lcd.print('\n')
lcd.println(response.text)

from m5stack import lcd
import time
import network
import urequests
wifi = network.WLAN(network.STA_IF)
wifi.active(True)
wifi.connect('nstudents', 'nnnedjpwireless')
while not wifi.isconnected():
    lcd.print('.')
    time.sleep(0.1)
response = urequests.get('http://jsonplaceholder.typicode.com/albums/1')
lcd.print('\n')
lcd.println(response.text)

# 各種ライブラリ導入
from m5stack import lcd
import time
import network
import urequests

# Wi-Fi系各種定義
wifi = network.WLAN(network.STA_IF)
wifi.active(True)
# SSID & PassWord入力
wifi.connect("nstudents", "nnnedjpwireless")

# While文で接続待ちをする
while not wifi.isconnected():
    lcd.print(".")
    time.sleep(0.1)

# Getしたデータを画面に表示する
response = urequests.get('http://jsonplaceholder.typicode.com/albums/1')
lcd.print("\n")
lcd.println(response.text)
