View Single Post
  #14   Spotlight this post!  
Unread 11-01-2004, 15:09
WizardOfAz's Avatar
WizardOfAz WizardOfAz is offline
Lead Mentor
AKA: Bill Bennett
FRC #1011 (CRUSH)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Tucson, AZ
Posts: 101
WizardOfAz will become famous soon enough
Send a message via AIM to WizardOfAz
Re: the new software prorgam

Quote:
Originally Posted by aznium
hello

i was from team 849 of unionville high school

this year we have not entered the robotics competition so we didnt get our packages and stuff like that...i was wondering if someone could e-mail me the new program for the the c-bot chip i heard about. since we are no longer using the pbasic stamp, and instead using c, i would like to learn it before next year's compeition, where we will most likely have a robotics team

my e-mail is aznium@yahoo.ca

thank you
For $50 you can buy C18 from IFI, probably only to schools and FIRST teams, but I guess you can get it even if you're not competing this year. It may be "dumbed down" a bit from the full version, but it's plenty complete for learning how and doing our RC programming.

If you just want to have a C environment to work with (and many others have given suggestions) the LCC environment from Univ of Virginia is pretty good, reasonably simple and lightweight to install, and FREE for non-commercial use. Get it at http://www.cs.virginia.edu/~lcc-win32/.

We use LCC quite a bit, since it gives a way to develop C modules for inclusion in the RC code w/o every programmer needing an RC to test on. If you do this, my recommendation is to use no int variables in your program, since int in C18 is 16 bits and int in LCC (and most "big machine" compilers) is 32 bits. This means if you use int variables while testing in LCC, you won't find out about fixed point overflow (and other) problems until you move the code to the RC. To get around this, use char, short, and long, which turn out to be the same length in C18 and LCC.

Bill