精品导航

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. 

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