![]() |
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!) :confused: 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. |
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 |
Re: How to get EasyC code into MPLab
Or you can just continue using the built-in text editor in EasyC... ;)
|
Re: How to get EasyC code into MPLab
See the help file under "Advanced Features" for more information.
|
Re: How to get EasyC code into MPLab
Quote:
|
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. |
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. :cool: |
| All times are GMT -5. The time now is 00:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi