|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
the new software prorgam
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 |
|
#2
|
|||
|
|||
|
Re: the new software prorgam
You can download the MPLAB IDE and a 60 day trial of the C-18 compiler from Microchip: http://www.microchip.com/1010/pline/tools/index.htm
A non time limited version that was provided to the teams, but that can't be distributed. |
|
#3
|
|||
|
|||
|
Re: the new software prorgam
thx. ur link helped me greatly
can any1 send me a copy of the non-time limit edition lolz |
|
#4
|
|||||
|
|||||
|
Re: the new software prorgam
Quote:
Quote:
|
|
#5
|
|||
|
|||
|
Re: the new software prorgam
=(
ok thx anywayz...i'll just have to learn it on 60 dayz lolz |
|
#6
|
||||
|
||||
|
Re: the new software prorgam
If you have knowledge of the previous (PBASIC) system, all you should need is an elementary knowledge of C to make the transition. Mostly everything is the same for people who aren't doing fancy stuff. (interrupts, EEPROM access, etc.)
A good tutorial on C can be found here: http://www.strath.ac.uk/IT/Docs/Ccourse/ |
|
#7
|
||||
|
||||
|
Re: the new software prorgam
I recomend Pic-Lite. It is quite simple to integrate with MPLAB and there is a book that helps you program with it. Unfortunately it only programs some of the mid-range pics but that limitation is a small one.
http://www.htsoft.com/ |
|
#8
|
||||
|
||||
|
Help ME!!!!! I spent all of my summer learning PBasic and did not know that we were going to use C. Can someone please tell me where i can get info on programing in C.
|
|
#9
|
|||||
|
|||||
|
Re: the new software prorgam
http://computer.howstuffworks.com/c.htm
This resource was recommended before -- it's not for the faint of heart, but it has good examples and is fairly thorough. Should be sufficient to get an understanding of the default code. Also, read through the default code documentation and programming guides available on Innovation First's website. Good luck! |
|
#10
|
|||
|
|||
|
Re: the new software prorgam
well, there are TONS of resources on the net where you can learn C, type in C programming tutorial in any major search engine and you are going to get a TON of hints. Supposedly the one on the way stuff works website is pretty good. If you have the time before you need to be writing a ton of your own code, though, I would recommend getting a book on it at your local bookstore, or amazon.com or something like that. Also, there are many other FIRSTers out there that are more than willing to help teach you........such as, for example.......Me
I'd tell you the books that I learned from, but they are currently loaned out to teammembers to help them out.Once you know the basic commands and syntax etc, the best thing you can be doing is reading through the default code and figuring out what each line, function, and algorithm does. Then try modifying it to do something a little different. Test, debug, and do the same for another function. (obviously some functions are more easy to do this with. I wouldnt go messing around with the initialization functions and such as of yet). Then, start trying to write your own functions. Before you know it, you'll be able to program in C! Any questions, comments, etc feel free to email me, PM me, IM me, etc etc. If for some reason there is trouble looking up my profile or if you feel lazy my email is RobotCoder@yahoo.com Good luck and have fun! -Neal Orman, Lead programmer for team 1002: Circuitrunners |
|
#11
|
||||
|
||||
|
Re: the new software prorgam
Quote:
|
|
#12
|
|||
|
|||
|
Re: the new software prorgam
Unlike PBASIC, C is a very standard and widely used language. You can go to your local bookstore and probably find about a dozen different books on C. Don't get a C++ book. Years ago I used Ivor Horton's Beginning C++, it wasn't the most readable book out there but it was very comprehensive. I imagine that there is a C version available. There are also numerous online tutorials available, some good, some awful, just search google.
If you're looking for a compiler to learn C, I recommend Codewarrior Learning Edition. Its for Mac/PC and its very powerful and easy to use and comes with a lot of different reference stuff. Also check out www.codewarrioru.com, they have free programming classes online with a real instructor, forums to ask questions, etc. You could also look into taking a basic computer science class at a local high school or college, many of them have switched over to Java, but there are plenty of holdouts. Honestly, if you want to learn programming or computer science, PBASIC is a terrible language to start with. If you want to do anything in CS beyond FIRST I'd highly recommend taking an introductory class taught in Java. Once you know Java and have a good background in CS writing code for FIRST is fairly easy to pick up. |
|
#13
|
|||||
|
|||||
|
Re: the new software prorgam
Quote:
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 |
|
#14
|
|||
|
|||
|
Re: the new software prorgam
Quote:
|
|
#15
|
|||||
|
|||||
|
Re: the new software prorgam
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SCRRF Design Classes | Redhead Jokes | Southern California Regional Robotics Forum | 0 | 10-07-2003 17:29 |
| which software | Ryan Foley | 3D Animation and Competition | 5 | 01-03-2003 23:39 |
| any one get the software yet?! | activemx | 3D Animation and Competition | 17 | 28-11-2002 19:06 |
| software software software | archiver | 2001 | 5 | 24-06-2002 00:21 |
| Reactor software? | Adrian Wong | 3D Animation and Competition | 4 | 15-01-2002 16:45 |