Go to Post The engineer mentors ARE part of the team, equals with the students in every aspect - KenWittlief [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 05-03-2007, 11:07
jewbilee jewbilee is offline
Registered User
no team
 
Join Date: Mar 2007
Location: Virginia
Posts: 2
jewbilee is an unknown quantity at this point
How to type my code

My school just recently recieved our vex kits. Were trying to program the code now and we don't like the drag and drop functions. I prefer to type out the code as practice for programming. If anyone knows how to achieve this or any other program that we can use, please suggest. Thanks very much

And did search before asking
  #2   Spotlight this post!  
Unread 05-03-2007, 11:08
thegathering's Avatar
thegathering thegathering is offline
Angry Troll Lurking in the MUD
AKA: Ben
FRC #1885 (Robocats)
Team Role: Programmer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Look around you. What do you see?
Posts: 333
thegathering is a splendid one to beholdthegathering is a splendid one to beholdthegathering is a splendid one to beholdthegathering is a splendid one to beholdthegathering is a splendid one to beholdthegathering is a splendid one to behold
Send a message via AIM to thegathering
Re: How to type my code

You can actually use MPLabs (like the FRC teams) instead of EasyC for your vex code.

I remember that the option to manually type code in EasyC was very difficult to find.
__________________

*2006 Champion Rookie All Star Award.
*2 x 2006 Regional Rookie All Star Awards.
  #3   Spotlight this post!  
Unread 05-03-2007, 11:19
jewbilee jewbilee is offline
Registered User
no team
 
Join Date: Mar 2007
Location: Virginia
Posts: 2
jewbilee is an unknown quantity at this point
Re: How to type my code

could you tell me how to use MPLabs. I keep hearing that you need the C compiler or whatever but I can't find any information about setting it up. Were using the basic Vex Programming kit that you can buy, weve never been to an event so we dont have this cd i keep reading about.
  #4   Spotlight this post!  
Unread 05-03-2007, 11:47
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to type my code

If you aren't on an FRC team and want to use MPLAB/C on your Vex robot you can purchase the C-BOT-COMPILER here:
http://www.vexlabs.com/vex-robotics-downloads.shtml
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 07-03-2007, 08:45
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: How to type my code

Don't you just need MP LAB to write code? I believe thats the only program that we use, unless the vex kits use different files (not .hex) to run.

And to use MP LAB, u have to first create a Project. Then you have to add some kind of Library (I dont know what they use for Vex). Then you add your own source files which is the actual stuff that is going to run.

Sry for using all those pronouns and undescriptive words, its easier to just show someone than tell them.
  #6   Spotlight this post!  
Unread 07-03-2007, 10:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to type my code

Quote:
Originally Posted by popnbrown View Post
Don't you just need MP LAB to write code? I believe thats the only program that we use, unless the vex kits use different files (not .hex) to run.
MPLAB handles the compiler for you, but you must have it if you are programming in C on either the big or the small robots. The C compiler is installed as a separate software package, but is integrated seamlessly into the MPLAB environment. The compiler is necessary to produce the .hex file we download.
MPLAB by itself only comes with PIC Assembly.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #7   Spotlight this post!  
Unread 07-03-2007, 19:49
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: How to type my code

All I did was install EasyC that came with the Vex Programming Kit, and then linked MPLAB to the EasyC compiler. Just read the two following threads in order and you should be fine. You don't have to buy anything either...

http://www.vexfan.com/viewtopic.php?t=4
http://www.vexfan.com/viewtopic.php?t=31

I hope that helps,
Nathan
  #8   Spotlight this post!  
Unread 07-03-2007, 21:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to type my code

Good catch.
I overlooked that they already have the C compiler with EasyC.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 do you manage code changes? ericand Programming 22 01-03-2006 03:56
Can I "type" code in EasyC? scottmso Programming 1 04-02-2006 07:22
how to convert Easy C code into real code? TheHolyLancer Programming 1 29-01-2006 09:09
Field Location of Type-0 and Type-1 IR Signals Travis Hoffman General Forum 3 27-02-2004 07:58
How much code can an IFI controller handle? Larry Barello Programming 7 10-02-2002 19:06


All times are GMT -5. The time now is 19:39.

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