I'm trying to set and use the comparators in the PIC16F628.
I have been reading the PIC16F628 data sheet for quit a while, and I followed almost exactly all their guidelines but the code doesn't work. Things aren't as straightforward as one expects. I have the feeling one has to figure out and find implicit information though barely implied!
Unfortunatelly Nigel Goodwin's tutorials all turn off the comparators.
Is anybody experienced with them who can help me get them to function?
Here are two versions of the code, both paralysed! Please have a look at them and try to help me generously. I'd appreciate that.
I have been reading the PIC16F628 data sheet for quit a while, and I followed almost exactly all their guidelines but the code doesn't work. Things aren't as straightforward as one expects. I have the feeling one has to figure out and find implicit information though barely implied!
Unfortunatelly Nigel Goodwin's tutorials all turn off the comparators.
Is anybody experienced with them who can help me get them to function?
Here are two versions of the code, both paralysed! Please have a look at them and try to help me generously. I'd appreciate that.