Let's code https://makecode.microbit.org/
按齒輪設定/語言/選繁體中文
暫時不接板子,直接網頁上呈現模擬--〉play、停止、重來
Beautiful Image, show a beautiful image with show LEDs
Lucky 7, show a number on the LED screen with show number
基本積木
當啟動時
重覆無限次
顯示指示燈,25顆LED/自行勾選圖形亮燈
顯示圖形(內建的圖形)
顯示數字(多個數字,則呈現跑馬燈)
顯示文字(多個文字,則呈現跑馬燈)
暫停(等候)
Answering Machine, show a text message with show string
Game of Chance, show a text message with game over
Smiley, smiley and frowney faces that transition on button pressed
輸入積木
當按下A按鍵、B按鍵、A+B按鍵,可以做什麼事情...
當啟動時/顯示Ask a question?
當按下A鍵時/顯示Yes
當啟動時/顯示select a button?
當按下A鍵時/顯示you win
當按下B鍵時/顯示game over(也可以選用進階/遊戲/遊戲結束)
Magic Logo, show an image on logo up
輸入積木
當姿勢XX發生時/顯示OO圖形,自己變化試試看
Snowflake Fall, repeat a series of images with forever
重覆顯示雪花掉落的感覺,自己改...小綠人、heart、poo-poo
Screen Wipe, turn off the LEDs with clear screen
當啟動時顯示XX一些圖示LED,當按下A按鍵時清空畫面
閃爍的心 - 利用暫停、清空、再顯示圖像
Blink, turn an LED on and off with plot
燈光積木
控制25顆LED的亮暗
當啟動時LED(2,2)(亮0.5秒暗0.5秒亮)
重覆LED(2,2)(亮0.5秒暗0.5秒亮)
25顆LED的座標位置
(0,0)、(1,0)、(2,0)、(3,0)、(4,0)
(0,1)、(1,1)、(2,1)、(3,1)、(4,1)
(0,2)、(1,2)、(2,2)、(3,2)、(4,2)
(0,3)、(1,3)、(2,3)、(3,3)、(4,3)
(0,4)、(1,4)、(2,4)、(3,4)、(4,4)
Night Light, dim the LEDs with set brightness
當啟動時,燈光亮度255、led圖示全亮
當按A鍵時,燈光亮度120
當按B鍵時,燈光亮度60
當按A+B鍵時,燈光亮度0
點亮長條圖(顯示值)/(最大值)--->長條圖的比例
Game Counter, displays the player’s score with score and add points to score
利用遊戲的得分或自訂變數得分...
當啟動時/得分設為0分
當按下A鍵/得分改變1分
當按下B鍵/得分改變-1分/LED顯示數字(遊戲得分)
當按下A+B鍵/LED顯示數字(遊戲得分)
code
上方/中間-->積木、java script
左上方/microbit模擬器
右上方/齒輪設定/刪除專案、重置.....
左下方/下載/下載專案的程式檔xxx.hex