精品导航

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. 

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