Go to Post I'm excited. Probably too much, but eh, I'm a big geek. - Brandon Martus [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-05-2008, 16:24
DPTeam270Driver's Avatar
DPTeam270Driver DPTeam270Driver is offline
Deer Park Driver
FRC #0270 (Falcon X)
Team Role: Driver
 
Join Date: Jan 2008
Rookie Year: 1998
Location: Deer Park
Posts: 34
DPTeam270Driver will become famous soon enoughDPTeam270Driver will become famous soon enough
Smile Programming Voltages in Easy-C

hello fellow team
we were having trouble w/ speeds and stuff w/ our robot
i found out that you can set voltages to motors to make the motor go faster
is this possible?
and if it is, how can i do this in Easy-C?
im not much of a programmer and i am learning w/ Easy-C
if anyone can help i would greatly appreciate it
thanks
-team 270
  #2   Spotlight this post!  
Unread 11-05-2008, 18:16
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Programming Voltages in Easy-C

I haven't used EasyC, but I know that it is very similar to WPILib, which I have used extensively.

Anybody, correct me if I'm wrong, but you use the SetPWM() function. You pass two values. The first value is the PWM port on the robot you want to output to, and the second value is the speed from 0 to 255. 0 is full reverse, 127 is neutral, and 255 is full forward.
__________________
  #3   Spotlight this post!  
Unread 11-05-2008, 19:52
DPTeam270Driver's Avatar
DPTeam270Driver DPTeam270Driver is offline
Deer Park Driver
FRC #0270 (Falcon X)
Team Role: Driver
 
Join Date: Jan 2008
Rookie Year: 1998
Location: Deer Park
Posts: 34
DPTeam270Driver will become famous soon enoughDPTeam270Driver will become famous soon enough
Re: Programming Voltages in Easy-C

cool, ill try that
thank you
  #4   Spotlight this post!  
Unread 15-05-2008, 17:23
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: Programming Voltages in Easy-C

This should be in the EasyC forum

You might find it easier to use the pre-written drive functions under the RC Control tab.
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
Closed Thread


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
Easy C programming Mentor08 Programming 7 27-02-2008 22:09
Programming Camera in Easy C Chief Samwize Programming 3 19-05-2007 20:37
Easy C Relay Programming Team_486 Programming 1 26-03-2007 15:01
Easy C programming Problem fredliu168 FIRST Tech Challenge 6 19-11-2006 22:44
Easy-C Programming CD Jeff K. Programming 2 09-01-2006 02:20


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

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