From PIC 16F628 and PIC16F876 to PIC16F876A
April 8, 2010
I where using a PIC16F628 when i where making som experiment with PWM, but i need 2 PWM output. So i deciede to get a PIC16F876, but by mistake i got a PIC16F876A, now i got some very big problems, cant figure out how to set _config.
My other problem, is that i also have some tutorials with A/D converting for a PIC16F876, can i also use that code for a PIC16F876A, or is the _config different?
So all in all, my problem is that i cant figure out how to set _config for the PIC16F876A, so that i can use it for both 2 PWM output, and 3 input for A/D converting. (1 input, where it have to be able to measure diferent length, and the 2 others just need to be either high or low)
I am writing the code in assembler kode, in microlab. If you need more info about it, please let me know. Thanks :0)