Step 2: Install the Chipkit Core

So after downloading the MPLABX and Arduino ide, we need to install the Chipkit core. We are going to follow the step1 mentioned in the URL which is auto install using github URL. We will copy that github URL (which is https://github.com/chipKIT32/chipKIT-core/raw/master/package_chipkit_index.json ), then go to the Arduino ide, and select preferences and under 'Additional board manager URL dialogue box paste it.

Step 3: Addition Tool for Dp32 in Arduino IDE

Now we need to install the additional tool for dp32 in Arduino IDE. Go to Tools -> board -> board manager, and look for dp32. We can filter it by using dp32, and install that tool in order to make dp32 board working using Arduino IDE

After that being done, we need to go to tools -> board and select dp32 board

Step 4: Restoring the Bootloader for Dp32 Board

Now we need to program the chip "PIC32 MX 250F 128B" sitting on the dp32 board using the chipkit programmer. In other words we are downloading the boot loader onto the chip using programmer

link to download the boot loader for dp32 -> https://reference.digilentinc.com/chipkit_dp32:chipkit_dp32 and scroll down to designer resources, and download the boot loader

Step 6: Selecting the Port and Board

Step 7: Christmas Lighting

Now we have set up everything. So I made a simple Christmas Lighting. After writing a code we can Verify it by hitting 'Verify' button, and then upload it on a board by hitting 'upload' button. here is the code:-

The attached file has my code, and above video shows the output of the code, hope you like it !!