Pic N Sav Weekly Ad

I have read about GCC's Options for Code Generation Conventions, but could not understand what "Generate position-independent code (PIC)" does. Please give an example to explain me what does it mean.

When programming my PIC18F6722 using MPLAB IDE v8.91 (the 32bit version), my PIC works and starts successfully, but when I use the HEX generated from MPLAB IDE, but program it using MPLAB X IPE, the programming part is successful, but my PIC does not start up.

pic n sav weekly ad 2

Programming HEX using MPLAB X IPE v6.15, leads to PIC not starting

It's best to just use BANKSEL to do your bank switching automatically. It is a special assembler directive the tells the assembler to switch to the correct bank. So, if you wish to access PORTB, just BANKSEL (PORTB) before using it. PS: PORTB is in BANK0 on the PIC16 family, not BANK1 as in your code.

pic n sav weekly ad 4

I read somewhere that PIC s9(13)v99 takes 54 bits of storage such that 1 full word(36 bits) and 1 half word(18 bits). Could someone please explain? TIA

Difference between PORT and LATCH on PIC 18F Asked 16 years ago Modified 3 years, 3 months ago Viewed 86k times

pic n sav weekly ad 6

I use a PIC12F675 MPLAB and XC8 to make a LED blink pattern and I have a problem with the push button (after review it calls bounce and debounce). Sometimes when I press the button it blinks in seq...

pic n sav weekly ad 7

I am trying to write a timer interrupt for a pic16f887. I have checked on several websites and most of them recommend writing the interrupt subroutine as void interrupt Name (void) however my program