Go to Post There is no MILSPEC standard for pool noodles. - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 02-18-2010, 08:58 AM
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: ? programming servos

to declare one is fairly easy,
try:
AnalogChannel *pot;
pot=new AnalogChannel(<channel>);

then to get the voltage from it:
pot->GetVoltage();

check out the c++ help files, they explain a fair amount, not always in the best of detail but usually enough to use things
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Servos. chsrobotics3283 NI LabVIEW 9 01-31-2010 08:47 PM
Programming Servos on ROBOTC? megaman295 Programming 1 01-27-2010 04:43 PM
Servos in C superspork22 C/C++ 2 01-19-2009 09:42 PM
Shuper Shifter servos hookup and programming MiniNerd24 General Forum 4 01-30-2008 09:59 PM
Programming Servos For AndyMark Transmission de_ Programming 6 01-30-2007 08:52 AM


All times are GMT -5. The time now is 10:00 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi