It was simple matter of using PWM generator built into the chip.
The partial code was in the datasheet. Please check out the datasheet as I don't have the original code anymore. It is pretty simple code, just few lines to write.
I played with full color LED just to test out PWM. I later used knowledge from doing this to send control signal RC speed controler and RC servo in my senior design project.
I don't have ICD2. I use PICKIT2, so I don't know what is the problem.
However, most likly problem is there is something wrong with your circuit.
Make sure your ICSP circuit is correct and there is no load on PGD and PGC pins. (I solate the load with 10Kohm resistors if there is something connected to those pins)
Original Message:
> Hello
> I have Icd2 and dspic30f3011 ..
> But whenever i try to program or connect all i get is In...
would you mind sharing your code on how you went about doing this?
elimenohpee182 2 years ago
It was simple matter of using PWM generator built into the chip.
The partial code was in the datasheet. Please check out the datasheet as I don't have the original code anymore. It is pretty simple code, just few lines to write.
I played with full color LED just to test out PWM. I later used knowledge from doing this to send control signal RC speed controler and RC servo in my senior design project.
lambition 2 years ago
Hello
I have Icd2 and dspic30f3011 ..
But whenever i try to program or connect all i get is Invalid Target device read =0
what is the problem
please pm me your email so that i can contact you
barryforever 4 years ago
I don't have ICD2. I use PICKIT2, so I don't know what is the problem.
However, most likly problem is there is something wrong with your circuit.
Make sure your ICSP circuit is correct and there is no load on PGD and PGC pins. (I solate the load with 10Kohm resistors if there is something connected to those pins)
Original Message:
> Hello
> I have Icd2 and dspic30f3011 ..
> But whenever i try to program or connect all i get is In...
lambition 4 years ago