--- /dev/null
+#include <plib.h>\r
+int main(void)\r
+{\r
+ int i;\r
+ mPORTDClearBits(BIT_0);\r
+ mPORTDSetPinsDigitalOut(BIT_0);\r
+ mPORTDClearBits(BIT_1);\r
+ mPORTDSetPinsDigitalOut(BIT_1);\r
+ mPORTDClearBits(BIT_2);\r
+ mPORTDSetPinsDigitalOut(BIT_2);\r
+ \r
+ while(1)\r
+ {\r
+ for(i = 0; i < 500000; i++)\r
+ mPORTDToggleBits(BIT_0);\r
+ for(i = 0; i < 500000; i++)\r
+ mPORTDToggleBits(BIT_1);\r
+ for(i = 0; i < 500000; i++)\r
+ mPORTDToggleBits(BIT_2);\r
+ }\r
+\r
+ return 0;\r
+}\r
--- /dev/null
+Here you'll find a simple example tested with PIC32 Starter kit (source code and .elf file). It will blink repeatedly the LEDs on the board.\r
+The program was compiled and written on the target using MPLAB IDE v 8.0 that comes with the kit because openocd is missing currently the ability \r
+to program the flash for this specific target. It is possible in the future this limitation to be removed. \r
+
\ No newline at end of file