Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   easy c default program? (http://www.chiefdelphi.com/forums/showthread.php?t=53106)

bos1ex 30-01-2007 19:06

easy c default program?
 
Hi,

I know there is default program for text based compilers, but I was unable to find default code (the one that is on the board) for easy c pro. Is there a such thing?

Thanks,
bos1ex

GMAdan 30-01-2007 19:25

Re: easy c default program?
 
Go to build and download and it should be there. I wouldn'tt do that though because easyc is so simple i rather customized the programming to fit the robot than to customize the robot to fit the programming.

Just my $0.02

bos1ex 30-01-2007 19:32

Re: easy c default program?
 
The problem is, I know only, xhtml, css and basics of PHP- there is only few weeks left so there is no way I can learn C within couple weeks.

Quote:

Go to build and download and it should be there.
In Easy C? I am not sure what you are referring to.

Thanks,

GMAdan 30-01-2007 19:34

Re: easy c default program?
 
Build and download is on the top bar. Also the lessons that come with the program are very good i just learned how to use the program a few days ago from those. And i just finished the driving and arm code today and i going to get ready for the auto-mode.

Kingofl337 30-01-2007 20:38

Re: easy c default program?
 
Go through the tutorial in the help file when you get done you should be a programming wizard :).

bos1ex 30-01-2007 20:42

Re: easy c default program?
 
so you guys are saying that once i open the program, the screen i see has pre-made program ready to go just like the way it is on the board right now? if so, is easy c made only for this competition?

GMAdan 30-01-2007 20:51

Re: easy c default program?
 
It's not only for this compition but it is geared towards it
also i think we got the easyC for FRC verison.

bos1ex 30-01-2007 21:50

Re: easy c default program?
 
GMAdan, thanks for the quick answer.

I was also wondering if there is description on how exactly the default code is set. That is, what is the current configuration of it if we were connect joistics and run it? (assuming every cable would be connected to right port/pin)

Kingofl337 30-01-2007 22:06

Re: easy c default program?
 
easyC does not have a default program. The default code is just a .hex of the code loaded in the controller when it is shipped. The idea of easyC is anyone should be able to make the equivalent of default code in about 3 minutes.

It really doesn't get any easier. For instance to make a robot with tank drive move. You drag in a while loop put a 1 in the box. while(1) and then drag in 2 or 4 motor tank block in. You tell easyC where you want to plug in your PWM ports and thats it done!

Take a few minutes to go through the tutorial and you will learn very quickly how to make your robot do its thing.

GMAdan 30-01-2007 22:12

Re: easy c default program?
 
If i understand your question correctly you are asking what pwm / relay relates to the joy stick buttons and axis. For this you can go to this link on the ifi website. http://www.ifirobotics.com/docs/lega...e-2004-1-7.pdf

though i still would recommend you writing your own easyc code for your robot. if need help with that pm me.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi