ROBOTC.net forums
http://robotc.net/forums/

Servos And Sensors
http://robotc.net/forums/viewtopic.php?f=21&t=2341
Page 1 of 1

Author:  emwbjr [ Sun Apr 18, 2010 8:10 am ]
Post subject:  Servos And Sensors

I'm fairly new to C programming, and I've only had a brief experience with easyC, which had servos listed in the menu, all I see for this are motors, so I was wondering how I would program those or would they both count as motors when using RobotC?

I also need to program an ultrasonic sensor, but I'm uncertain of how to go about that as well.

Any assistance would be greatly appreciated.

Author:  bluesaberist [ Sun Apr 18, 2010 3:17 pm ]
Post subject:  Re: Servos And Sensors

The servos are run exactly the same as motors. The only difference is the hardware.

The sensor setup is fairly self-explanatory. Just go into the motor and sensor setup menu, and define the sensor on whatever port pin and interrupt pin you want.

Not to sound rude, but almost every answer to every question can be found by searching around the forums. Both this one and some of the Vex ones.

This thread has a link that will help you.
http://www.robotc.net/forums/viewtopic.php?f=11&t=1360

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/