Arduino颜色传感器TCS3200开发使用

网友投稿 2019-12-04 11:13

https://cdn.china-scratch.com/timg/191206/11132J3R-0.jpg

https://cdn.china-scratch.com/timg/191206/11132Q636-1.jpg

https://cdn.china-scratch.com/timg/191206/11132RG8-2.jpg

与Arduino接线

https://cdn.china-scratch.com/timg/191206/11132W229-3.jpg

https://cdn.china-scratch.com/timg/191206/11132R002-4.jpg

https://cdn.china-scratch.com/timg/191206/11132a139-5.jpg

编写程序:

https://cdn.china-scratch.com/timg/191206/1113293231-6.jpg

运行结果,放置不同颜色会显示不同数值:

https://cdn.china-scratch.com/timg/191206/1113302326-7.jpg

https://cdn.china-scratch.com/timg/191206/1113312535-8.jpg

https://cdn.china-scratch.com/timg/191206/1113313361-9.jpg

--end--

声明:本文章由网友投稿作为教育分享用途,如有侵权原作者可通过邮件及时和我们联系删除:freemanzk@qq.com