Micro:bit

Micro:bit的gesture和movement

micro:bit上有兩種移動感測,一種是感測往x、y和z軸等方向移動的movement,一種是目前的板子gestures狀態(廣播+LED版本沒有gestures),下面我們先展示怎樣感測板子的移動,x軸有R、-、L三個狀態,y軸有F、-、B三個狀態,z軸有D、-、U三個狀態,現在,請用偵測板子往x、y或z軸的移動積木, 如下圖:

圖一、板子的movement

板子的gestures偵測有很多動態,在文件中有 up, down, left, right, face up, face down, freefall, 3g, 6g, 8g, shake,但我常見的只有face up, face down, left, right,shake等狀態,如果你試出來其它的狀態,可以跟我說一聲!

圖二、gestures積木

© 網站製作:桃園市 蔡佳倫 老師
Powered by Webnode Cookies
BUILT WITH WEBNODE Like this website? Yours can be live today. Like this website? Yours can be live today. Describe your idea, AI builds the first draft. No code, free to start.