GGT在線討論區 › Forums › GGT在線論壇 › Micro:bit – Lesson 06: 密碼鎖 – 教學影片 This topic has 2 replies, 1 voice, and was last updated 3 years ago by twfhk. This post has been viewed 1331 times Viewing 3 posts - 1 through 3 (of 3 total) Author Posts 2022 年 1 月 18 日 at pm 12:48 #173 twfhkKeymaster Topics18Replies0Level 2 密碼鎖這一課比較困難。我錄了一些影片,幫助同學明白。我會由如何構思解決方案開始,然後帶大家將解決方案轉化為micro:bit 程式。大家可以看到如何用編程解決日常問題。 首先,有一個micro:bit 版,上面得兩個按鈕,但要輸入一個有兩個數字嘅密碼,到底點做呢? 呢段片帶大家一齊思考解決方案: This topic was modified 3 years ago by twfhk. 2022 年 1 月 18 日 at pm 12:56 #175 twfhkKeymaster Topics18Replies0Level 2 開始編程micro:bit。首先係設定variables 先。唔知點解我响個片度講parameter,其實我係指variable 😅 編程嘅一個好習慣係:將一個大嘅project 分成小部份,試完一個小部份得之後,再加另一個小部份上去,再試,直至完成整個程式。咁樣有錯都容易跟D。 This reply was modified 3 years ago by twfhk. 2022 年 1 月 18 日 at pm 1:06 #177 twfhkKeymaster Topics18Replies0Level 2 再試另一個小部份。上次按A按鈕,數字會增加。今次加埋按B按鈕,代表完成一個輸入。 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In