Hi Matt,

mattschinkel wrote:
I only have a few PICs to play with,

But you can choose from hundreds of PICs to at least compile a program. When compilation fails, no need to have that PIC! And for each program you should compile for timer 0, 1 and 3. In this way problems like I reported in issue 111 may arise.
And I have never touched a single servo!

I posted a comment:

My servo lib requres FOSC/4 to work. In my lib, I set T1CON_TMR1CS =
0. Going by the datasheet of 16f1937, if both TMR1CS1 and TMR1CS0 = 0,
it will also use FOSC/4

The datasheet also refers to it as a two bit variable:
TMR1CS<1:0>: Timer1 Clock Source Select bits

TMR1CS1 and TMR1CS0 should be declared a 2-bits variable named
T1CON_TMR1CS

I hesitated because these two bits are not really a binary counter (even though I know that this is not necessary for a multi-bit field).
But OK, I'll make it a bit*2 variable.

Regards, Rob.

--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to