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
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
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
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.
Go to build and download and it should be there.
In Easy C? I am not sure what you are referring to.
Thanks,
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.
Go through the tutorial in the help file when you get done you should be a programming wizard :).
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?
It’s not only for this compition but it is geared towards it
also i think we got the easyC for FRC verison.
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)
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.
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/legacy/frc-rc-default-software-ref-guide-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.