Hello EverybodyMy team is using robotC but we do not know how to use the magnetic sensor in our code . We have downloaded the drivers but dont know where to begin, we bought the sensor from HiTechnic. Would anyone be able to help us? -williston wildcats

Thu Nov 17, 2011 5:31 pm

MHTS

Guru

Joined: Sun Nov 15, 2009 5:46 amPosts: 1523

Re: Use of Magnetic Sensor in RobotC

If you have downloaded Xander's driver suite, it contains the driver as well as the sample code to use the magnetic sensor. I don't have my laptop in front of me but I remember the name is something like HTMAG-test.c or something similar.

Hi,I have been looking for a simple code to drive a lego motor that is in port A with the Magnet sensor in port 2.My team is using robotC and we have downloaded the drivers. Can anyone post a Sample code please thank you.~Bob Rodi

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum