01
李欧看到游乐园门前排起了长龙,人们正在售票处前等候买票。
02
李欧不需要等待,因为他已经提前在网上买好一张电子票了,他可以使用快速通道自助检票入园。
03
为李欧搭建快速通道,以方便他通过。
04 -BI
05
你们的任务是:创建程序,实现当李欧向颜色传感器出示黄色 门票时灯自动打开。
06
![U2L1_img_step_7.png](/v3/assets/blt293eea581807678a/bltd79b875b340a5a70/5eeb6ce5464b61607c65ec28/U2L1_img_step_7.png?locale=zh-cn&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
开发程序,实现当李欧向颜色传感器出示黄色门票时灯自动打开。
07
![U2L1_img_step_8.gif](/v3/assets/blt293eea581807678a/blt31ee4982ab519091/5f0576155dbb0476fed70f8d/U2L1_img_step_8.gif?locale=zh-cn&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
测试程序,把李欧的黄色门票放在颜色传感器前面。
08
对快速通道进行编程,使其以不同的方式对黄色门票做出反应。
09
![U2L1_inspiration_img_1.png](/v3/assets/blt293eea581807678a/blt7f1f25a9fc87954f/5eeb6d026aaf2924fd2311e8/U2L1_inspiration_img_1.png?locale=zh-cn&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U2L1_inspiration_img_1.png](/v3/assets/blt293eea581807678a/blt7f1f25a9fc87954f/5eeb6d026aaf2924fd2311e8/U2L1_inspiration_img_1.png?locale=zh-cn&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U2L1_inspiration_img_2.png](/v3/assets/blt293eea581807678a/blt7cfa8fa9cb2f3523/5eeb6d036b547b2c37e3abd9/U2L1_inspiration_img_2.png?locale=zh-cn&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U2L1_inspiration_img_3.png](/v3/assets/blt293eea581807678a/blte4c2dc2f51a15742/5eeb6d0418cea32a006fbf5d/U2L1_inspiration_img_3.png?locale=zh-cn&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
为李欧升级快速通道。