The microcontroller-projects blog is becoming the go-to resource for everything Buggy-related. In their latest update, you’ll learn how to program the Buggy in MPIDE, using Arduino code. (if you’re so inclined).
A huge repository of code developed by the Arduino community is now Buggy-compatible, thanks to the efforts of the editors of microcontroller-projects.
To program the Buggy in the Arduino-like environment, you’ll need an USB-UART click, a cable with 90-degree USB connector (not necessary but convenient), and a list of Buggy/clicker 2 for PIC32MX pins corresponding to Arduino pin definitions. The latter is provided in this blog post.
A previous post has more details about the clicker 2 and MPIDE integration.
The author provides example code to get you started. You know, like we do.
One trade-off of all this is that you’ll need to relinquish one mikroBUS™ socket for the USB-UART click.. The other is that MPIDE is not as sophisticated a tool as our own PIC32 compilers are.
But to each his own. It’s certainly beneficial to have options to choose from.