Hi,
I am trying to program a dsPIC33FJ32GP302 chip with the Pickit 2 programmer and using MPLAB C30 (This chip supports the Pickit 2 as illustrated by the green light on the "select device" window).
I managed to put the chip on a board and connected it to the pickit 2. I built a project in MPLAB and the programmer sends power to the target as expected and it recognizes it.
I imported the header and linker files for this particular target just in case. Now it's time to write the main.c program. This is what I need assistance with.
I need help setting up the initial configuration bits for this device. My goal is to generate a PWM Signal from a single output. That's all I need. I might need help with the code as well.
Can anyone point me in the right direction? I need some help starting this.
Thank you so much!
--------------------------------------- Posted through