How to write code to control line follower sensor modules with 5 sensors?


#1

Hi, dear mbot elites,

I need your suggestions and guidance on how to jump start to write code to control the CNY70 line follower modules with 5 sensors in mbot. I have reviewed the following thread but still have no exact idea how to get values from the 5-sensor module. Is there any primitive arduno API I should understand first ? To be honest, I’ve never used extension in mbot. Thanks for any hints.

All the best,
Tim


#2

Are you using the Makeblock array?


#3

Hi,

We purchased the ICCI-CNY70 which has 5 light sensors.


#4

Thanks. We’ve obtained the test API from ICCI website. Thanks


#5

No worries, I was just about to direct you to the test API. :smiley:


#6