精品导航

Let's start! Step by step

Blink, blink!

Let's get down to business!

Before doing anything, you need to connect your CircuitPet to your computer's USB port and turn it on.

random image

Let's play with the LED!

The first thing we'll learn is how to code CircuitPet's LED to blink in different colors!

The first block that we need to find says "loop forever". This particular block ensures your code is executed all the time.
You can find the block in the "Loops" block section.

Drag and drop it onto the drawing area.


Look for the "LED set color" block in the I/O block section.

Because the LED will light up first in red, set the value of red to 255 (the maximum) and the values of the other colors to 0.



Between red and the other color that will light up, we'll make a pause of 1 second.



Duplicate the I/O block and place it underneath the time block.

Because the LED will light up green this time, set the value of red to 0 and the value of green to 255.



Don't forget the time block.



Repeat the process once again, this time for blue.



Now, hit the big red "Run" button and watch the LED change its color. 

友情链接:蘑菇視頻 | 色啪 | 第一福利 | 老司机视频 | 龙物视频 | 小蓝视频 | 蘑菇在线观看网页版 | 青草草 | 在线午夜 | zhuoyemall.com | p站视频 | 汤姆影院 | mogus.cc | mogutv | 久久久久久 | 玖玖爱 | 蘑菇影视 | 六月婷婷 | 在线亚洲 | 久久香蕉 | 五福影院 | 超碰视频 | bt搜索 | 五月丁香 | tsxhyq.com | 秋霞网 | 蘑菇视频入口 | 摩天轮社区 | mogu视频 | btupic.com | 青草青青 | 无名网 | 色妞 | 樱花视频 | 屁屁影院 | 日本高清 | 青青伊人 | 宅男影院 | mogu | 秋霞影院 | 琵琶妞 | 酒色世界 | 永久网站 | gzdksw.com | 琳琅导航 | 蘑菇网 | rencai98.com | 玖玖资源站 | 番号网 | 伊人色 | jxty00.com | 精品免费 | 资源导航 | 蘑菇视频网站 | 青娱 | 性知音 | fltou.com | 午夜在线观看 | 蓝色导航 | sanzhucare-zhpg.com | 红桃视频 | 天堂在线 | 福利精品 | tissu-premier.com | 欧美午夜 | 蘑菇传媒在线观看 | 最新av | 福利盒子 | 蘑菇app | 蘑菇传媒 | 蘑菇tv网页版 | hebeijiaoyuwang.com | 久久爱 | 四虎影视 | lf397.com | 看片神器 | 小草社区 | 综合影院 | 色婷婷 | 亚洲网 | 蜜芽视频 | woqidz.com | 迷妹网 | zpzb2008.com | 蘑菇短视频入口 | 天天综合 | 协和影院 | 导航大全 | 蘑菇网页版入口 | 4008108885.com | 永久地址 | 扒哥黑料 | dna0126.com | 亚洲精品 | 老王影院 | 草莓视 | 蘑菇视频ios | 久久视频 | dk99999.com