工程筆記本 / BBC Micro:bit

BBC Micro:bit

【Micro:bit】 一次學Micro:bit就有概念!?是的,請看這一篇(三)

CAVEDU 阿吉 - 雜工📅 2018-08-09👁 26
作者/攝影 陳怡璇
時間 20mins
難度

 ★★☆☆☆

材料表
本篇中,我們要向讀者們介紹的是音樂盒及彩色LED燈條。  

第一題:智慧音樂盒

Step1: [caption id="attachment_24953" align="aligncenter" width="519"] 圖1[/caption]   Step2: [caption id="attachment_24954" align="aligncenter" width="576"] 圖2[/caption]  

第二題:色彩繽紛的LED燈條

任務一:

Step1: [caption id="attachment_24955" align="aligncenter" width="250"] 圖3[/caption]     [caption id="attachment_24956" align="aligncenter" width="1330"] 圖4[/caption]   Step2: [caption id="attachment_24957" align="aligncenter" width="522"] 圖5[/caption]   Step3: [caption id="attachment_24958" align="aligncenter" width="693"] 圖6[/caption]   [caption id="attachment_24959" align="aligncenter" width="1020"] 圖7[/caption]  

任務二:

Step1: [caption id="attachment_24960" align="aligncenter" width="457"] 圖8[/caption]   Step2、3:這裡要注意的是,顏色的表示是色像環,所以若範圍輸入0至360,會全部顯示紅色;0至0、360至360也是全紅色。但如果是0至340,就會是有紫紅色的彩虹。 [caption id="attachment_24961" align="aligncenter" width="1348"] 圖9[/caption]   [video width="1920" height="1088" mp4="https://cd.ainfinity.tw/media/2018/08/彩色LED.mp4"][/video]   完成以後,音樂盒可以試試看自己編曲,LED則可以依照色環進行顏色調整,或是加入前一篇使用過的感測器進行改變。  

相關文章

相關文章 📎

留言 💬 (0)

還沒有留言,來當第一個。