Created Thu, 17 Jul 2014 20:02:00 +0000 by mdsousa
Thu, 17 Jul 2014 20:02:00 +0000
I have a Max32 brd and MPIDE 0023 installed. I've opened an example project and am able to view/edit the .pde file. I have not been ableto figure out how to open and edit the .cpp/.h files of the project. From the menu selection File->Open, I type in the file name I'd like to open in the 'Enter file name:' text box it tells me the following: 'Processing can only open its own sketches and other files ending in .ino or .pde'. How does one go about editing .cpp/.h files?
Thu, 17 Jul 2014 21:47:38 +0000
You should try UECIDE instead - especially the latest beta version (listed at the bottom of that page). It has much better file handling than MPIDE (as well as many many many other improvements).
Sun, 20 Jul 2014 23:23:44 +0000
Thanks majenko for the suggestion. Right now, seeing how I'm in the middle of using mpide for a project I'd like to see if I can get this particular issue figured out. Is there anyway to edit a .h/.cpp souce file of a project?
Sun, 20 Jul 2014 23:28:31 +0000
If they are in the same folder as the .pde then they should be there as tabs in the editor. If they're not in that same location then they will need moving there.
Either that or use a different editor, like Notepad++ in Windows.
Mon, 21 Jul 2014 20:52:28 +0000
To edit the .cpp/.h files locate the files which should be in the libraries folder --> if using windows they should be in Documents/mpide/libraries/*example. After locating the files, use an external editor such as notepad++ to edit.
You will also not be able to edit an example .pde file in mpide. To edit the .pde, click on file->preferences. Select external editor and open the .pde file in an external editor. That should allow you to edit the file. After editing, you can compile the sketch on mpide by pressing CTRL+U which compiles the .pde and programs the target board.