|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
How to get EasyC code into MPLab
sometimes you want to move you code from EasyC to MPLab and here is how you can do it:
EasyC's default is the tab called "Function Blocks." There are two tabs iIn the bottom left corner of the EasyC programming environment. One is labeled "Function Blocks" and the other is "Project". Here is how you get to the "C" code to copy it out of EasyC: Click on the "Project" tab. Expand the desired subsection (Source File, Header File etc.) Double click on the file you want to copy. When it opens, it should be the text version alone with no EasyC programming blocks. If it is not, please follow the previous two instructions. From here you must select what you want to copy and "right-click" and select "copy". (If you press "ctrl+C", you will not get your code!) Go to where you want to copy the code to and right click then click on paste. Sorry if someone else posted this. I looked but couldn't find anything. |
|
#2
|
|||||
|
|||||
|
Re: How to get EasyC code into MPLab
Thanks for the tip. It was a frustrating task, having our n00blettes retype their code in MPLAB when they graduated from EasyC. I did not realize you could do this.
Thanks! Jacob |
|
#3
|
|||||
|
|||||
|
Re: How to get EasyC code into MPLab
Or you can just continue using the built-in text editor in EasyC...
![]() |
|
#4
|
||||
|
||||
|
Re: How to get EasyC code into MPLab
See the help file under "Advanced Features" for more information.
|
|
#5
|
||||
|
||||
|
Re: How to get EasyC code into MPLab
You'll have to graduate to real code some day. You can't exactly code advanced functions on an FRC bot in EasyC the way it's setup...or at least I haven't found a way to yet and maybe you have.
|
|
#6
|
||||
|
||||
|
Re: How to get EasyC code into MPLab
easyC has a normal editor 'C' text built in that works just like MPLAB. You can type your create your own header files, code files, type your own code, include your own libraries, write structs, variables, you name it. Plus you can convert block code to functions to 'C' functions for tweaking.
All of this is just waiting for you under the "Project" tab. P.S. all the .c and .h files converted to c code are stored in the projects directory. Last edited by Kingofl337 : 08-06-2007 at 14:32. |
|
#7
|
|||||
|
|||||
|
Re: How to get EasyC code into MPLab
Quote:
I don't think our team ever would have even attempted something as 'advanced' as this before EasyC PRO/WPIlib came out, as this was our first robot (out of our nine) with 100%-complete sensor feedback and absolutely no dead reckoning. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you get servo numbers into Angle Degrees | Cow Bell Solo | Programming | 3 | 18-02-2007 12:16 |
| Converting EasyC Tracking Code into MpLAB | Ultima | Programming | 5 | 08-02-2007 21:38 |
| how to convert Easy C code into real code? | TheHolyLancer | Programming | 1 | 29-01-2006 09:09 |
| How to Get EasyC 2.0 Upgrade | Kingofl337 | Programming | 0 | 22-01-2006 08:54 |
| Kickoff easyC workshop integrated into EasyC help file | Dan Larochelle | Programming | 0 | 11-01-2006 06:12 |