I am new to the PIC world... i have had some C and assembly, but i an not familiar with the __CONFIG and how this works...
Can anyone offer me a good explanation on this... this has to be utterly basic i know.
It's used for setting the configuration fuses - it's an assembler directive (instruction to the assembler, NOT a PIC instruction), the MPASM helpfile explains it.
In my dim understanding, the config file is a small set of data which is read from flash (non-volatile memory) on power-up. It configures programmable logic devices to define their personality and behavior. Such devices have huge internal logic arrays which can be mapped out and set up as needed by the config. This allows very general-purpose devices to serve very specific functions, depending on how you "config" them!
I am new to the PIC world... i have had some C and assembly, but i an not familiar with the __CONFIG and how this works...
Can anyone offer me a good explanation on this... this has to be utterly basic i know.
Suppose you have general study of the datasheet for 16F887, many clouds would be cleared. For C language related doubts you have to read and appreciate from the instruction manual of the software provider. You would get a better clarity. For left over issues you can always come back to electro-tech-online where the concerned experts would be rather happy to serve........