Say goodbye to the Serial Monitor debugging with Serial.println()! Microchip has released a chipKIT Platform Sketch Importer for MPLAB X IDE in their latest version, v3.10. This importer is a plug-in that allows for source debugging of chipKIT sketches directly within MPLAB X IDE. This plug-in is installable via the MPLAB X plug-in portal under the Tools menu. The only other requirement is a separate install of the latest beta release of UECIDE–an alternative to MPIDE–since the desired sketch must first be created in UECIDE and built in that environment at least once. Subsequent builds and full source-debugging are then supported within MPLAB X IDE.
Stepper motors seem to be the thing these days! As a follow-on to a couple of posts regarding the use of chipKIT Pro with I/O control and Delays, we want to share Learn.Digilentinc’s chipKIT Pro with Stepper Motors project, which builds upon the knowledge learned in the two previous projects and teaches you how to apply a software-based state machine approach to control the speed, rotation direction, and operation mode of stepper motors. It requires knowledge of C or C++ programming, MPLAB X IDE, finite state machines, and the two previously mentioned projects. Go get your learn on!
The Learn.Digilentinc site has some useful lessons, not only for beginners, but also for more advanced users of microcontrollers. For those of you who use chipKIT Pro products like chipKIT Pro MX7, Digilent put together the chipKIT Pro and I/O Control project to teach digital input and output using MPLAB X IDE and the MPLAB XC32++ Compiler. This project does require some basics skills/knowledge, like C or C++ programming, binary math and Boolean algebra, MPLAB X IDE basics, and a fundamental knowledge of electronics.
If you’re like me, mixing up things that sound alike is not difficult to do. For example, I can easily mix up chipKIT and PICkit, especially if I’m tired and I’m not thinking well. MPIDE and MPLAB IDE are a close second; they just sound too much alike. So it’s not difficult to see that if the names mix you up and you don’t really know that much about either of them, you might wonder what distinguishes the two and why you’d want to use one over the other. For a quick summary of the differences between using MPIDE (Multi-Platform IDE) and MPLAB X IDE check out this MPIDE vs MPLAB IDE blogpost by Digilent.
However, I would like to preface that article with the following points. Since MPIDE was ported from the original Arduino IDE, and since Arduino was meant to be simple and easy to use, there wasn’t a whole lot of functionality built into the IDE from the beginning. It simply works as an editor allowing you to compile your code and program it to your target board (via the bootloader). Debugging was not built into Arduino IDE, but most people use “printf()” statements and the Serial Monitor to help debug their programs/sketches. Microchip’s MPLAB X IDE, however, has always been a debugging environment in addition to being an editor and integrating a compiler.
That being said, good luck not mixing them up now!