2022-08-30 · STORY

Blockly 블록리 코딩 체험해보기 ㅋ 초등학교에서 코딩 교육하는게 이런건가?

블록리 게임 : 미로 (blockly.games)

주어진 블록으로만 문제 해결 해보기.

흠 먼가 생긴게... 블록 끼워 마추기

자료 구조중 map

m5stack paper

Iot 디바이스 ㅋ

from m5stack import *
from m5ui import *
from uiflow import *
import ntptime
import wifiCfg
import urequests


setScreenColor(15)


strID = None



lbMsg = M5TextBox(45, 60, "lbMsg", lcd.FONT_DejaVu24, 0, rotate=0)


# Describe this function...
def fn_get_timer():
  global strID
  lbMsg.setText(str(ntp.formatTime(':')))



setScreenColor(0)
lbMsg.setColor(15)
strID = 0
wifiCfg.doConnect('cargotmon', '')
try:
  req = urequests.request(method='GET', url=(str('https://blog.lsj.kr/m/m5.php?id=') + str(strID)), headers={})
  ntp = ntptime.client(host='jp.pool.ntp.org', timezone=9)
  fn_get_timer()
except:
  lbMsg.setText(str(req.status_code))
lcd.show()

m5stack paper iot예제

Control sit/stand Desk height with a Paper E-Ink Display - Hackster.io

블록리 레퍼런스 url

Blockly  |  Google Developers