New features proposed

Note: This list is for the libraries, not the compiler.


If you want to set the configuration register.
Is calculated before you compile (bit2-LAN1 + bit1-LAN0) in, if you make a BIT 
pattern, you can to reduce the program.
ANSELB = (128 + 64 + 32 + 16 + 8 + 4 + 1); no problem
ANSELB = (AN6 + AN5 + AN4 + AN3 + AN2 + AN1 + AN0); error.

You can set constants for AN6..AN0 if you really want to write it that way. But 
usually a shorter source code is not necessarily a better program.


Next question
I use the 16f1827.
It is an error; PR2 = 0x03ffh.

The h at the end is no valid number. PR2 is a bye register and cannot hold 
values greater than 0xff.


It is an error; CCP2SEL = 0.

The name is APFCON0_CCP2SEL


It is an error; TMR2ON = 1.

The name is T2CON_TMR2ON

Hope this helps. Have fun!
Greets,Kiste
   

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to