webduino彩虹燈

模擬器http://simulator.webduino.io/

Web:bit教育版 https://webbit.webduino.io/blockly/?demo=default

學習手冊https://tutorials.webduino.io/zh-tw/docs/basic/index.html

1.設計七彩燈

2.連接腳位(注意是VRBG,電源、紅、藍、綠色)

3.設定紅綠藍變數

 

255 0 0
255 64 0
255 255 0
0 255 0
0 0 255
0 64 255
64 0 255

 

 


 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 cariahwang 的頭像
    cariahwang

    cariahwang的部落格

    cariahwang 發表在 痞客邦 留言(0) 人氣()