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

Variable servo program
http://www.robotc.net/forums/viewtopic.php?f=11&t=9797
Page 1 of 1

Author:  oknefskidustin [ Thu Nov 13, 2014 9:39 pm ]
Post subject:  Variable servo program

Can someone write a code for robot c cortex that would allow me to push 8u and the servo would go a small increment and hold, then hit it again and it would go a little more and hold. Then do the opposite for 8d. I only know how to make it got a full 127 and hold or -127. I think there is a way using integers but now sure. Hopefully someone can write me a sample code.

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