Program code that responds at the edge of the table


#1

I want to get the program code that codey rockey reacts to at the edge of the table. I want to use this program for children’s education, but I can not find where.


#2

You can try this code:
image
And adjust the Leds direction like below (about 45°)
image

By the way, here are two links for Codey Rocky resources:
http://www.mblock.cc/doc/en/hardware-guide/codey/codey-rocky-examples.html
http://education.makeblock.com/resource/?query=149&page=1


#3

Thank you for your help. It’s similar to an obstacle avoidance program. That’s the opposite.


#4

:grin:


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.