I have a project about my Robotics class. I will make a maze robot that can exit from a simple maze. I have Sharp Infrared Sensor to read distance from wall while my robot is traveling. Ok, I projected my algorithm, but firstly, I just need to read distance value from my sensor. I don't know how can I read it, with which code of C, or do I have to #include.. something at the beginning of my program. I searched lots of things on net, but I found nothing except datasheet of this sensor. Please,I'm waiting for helps from the ones who did such kind of projects before. I really need help. I must submit my project in 2 days.
Sorry my grammer mistakes. Thanks in advance.