30 day trial version? Enable it all functions? Or is it inside any limitations? Where from can I download it? Think You for this: PIC Simulator IDE with Basic Compiler, Assembler, Disassembler and Debugger ?
fejesg
hi,
Which question do you want answering first.
Oshon Software Homepage
Download the fully working 30 day or 30 times run, PIC IDE
Get it and load your program
BTW: now moved onto the second part of your posted program, there a big sections missing.!. References to an ISR etc, so I will stop.
Why dont you write a short program that reads the ADC, prove it OK.
then move forward to the PWM.
Always debug peripheral subr before writing a full program.
I'll look thru the MPLAB sim, personally I dont like it, maybe someone with experience will answer.