I want to start off saying I havent used a PIC since college gdays but am being thrown back into it after switching jobs from ic design to pcb design.
I ordered this pic part because it is small footprint, small power, and has 'self writing flash'. I am assuming this self writing flash means i can have my program write to the flash in normal operation mode ( save data in non volatile memory).
My issue is I cant find any example code for this pic. and I am unaware of any built in functions. I need general guidance on programming this pic or if this is a bad pic what a good alternative would be. I am currently using MPLAB SIM with HI-Tech C compiler for PIC 10-12-16...
Im currently stuck on getting the CCPIF special interupt to trigger the ADC GO bit.
Also do these sim tools simulate the PIC ADC? or do they just use stimulus to insert what the ADC Predicted Result will be into the ADC result register?
Please reply, as you can see I am a bit lost...
I ordered this pic part because it is small footprint, small power, and has 'self writing flash'. I am assuming this self writing flash means i can have my program write to the flash in normal operation mode ( save data in non volatile memory).
My issue is I cant find any example code for this pic. and I am unaware of any built in functions. I need general guidance on programming this pic or if this is a bad pic what a good alternative would be. I am currently using MPLAB SIM with HI-Tech C compiler for PIC 10-12-16...
Im currently stuck on getting the CCPIF special interupt to trigger the ADC GO bit.
Also do these sim tools simulate the PIC ADC? or do they just use stimulus to insert what the ADC Predicted Result will be into the ADC result register?
Please reply, as you can see I am a bit lost...