Go to Post Let me live in my delusional world where minibots never happened and the Tetrix kit doesn't exist. - Andrew Schreiber [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 18-12-2003, 15:53
RedNebula RedNebula is offline
Registered User
#0341
 
Join Date: Dec 2003
Location: Ambler
Posts: 2
RedNebula is an unknown quantity at this point
Red face EDU Default Code for 1 Joystick

I'm a cadet on team 341, and I have learned C, but I still don't understand the code. Is there anything that will help me understand the code? The comments in the code don't really help.
  #2   Spotlight this post!  
Unread 18-12-2003, 17:34
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Re: EDU Default Code for 1 Joystick

Quote:
Originally Posted by RedNebula
I'm a cadet on team 341, and I have learned C, but I still don't understand the code. Is there anything that will help me understand the code? The comments in the code don't really help.
Well, have you read all the programming reference guides, etc at innovationfirst.com? If not, I'd definately recomend doing that. Otherwise, if you could tell us what parts of the code you're having trouble with, I'm sure somebody here would be happy to help.

-Rob
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 18-12-2003, 19:23
RedNebula RedNebula is offline
Registered User
#0341
 
Join Date: Dec 2003
Location: Ambler
Posts: 2
RedNebula is an unknown quantity at this point
Re: EDU Default Code for 1 Joystick

What exactly are PWMs?
  #4   Spotlight this post!  
Unread 18-12-2003, 20:14
yangotang's Avatar
yangotang yangotang is offline
Registered User
#0253 (MRT)
Team Role: Programmer
 
Join Date: Jan 2003
Location: San Mateo, California
Posts: 128
yangotang is on a distinguished road
Send a message via AIM to yangotang
Re: EDU Default Code for 1 Joystick

In a nutshell: PWM's are speed controllers, which receive a value of 0 to 254 (8-bit) input. 0 is full speed reverse, 254 is full speed forward, and 127 is dead stop.
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
How long does it take you to load the default code? vegasmcse Robotics Education and Curriculum 10 03-11-2003 21:41
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58
2003 PBasic default code from Innovation First ttedrow Programming 0 06-01-2003 11:18
default code archiver 2001 2 23-06-2002 22:53
Rookie Programmer has question about the default code DanL Programming 3 26-01-2002 19:59


All times are GMT -5. The time now is 20:32.

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