Hi,

disclaimer: I'm somewhat floating in and out of using JAL, so
definitely not very competent:)

Just wanted to do some PPM decoding for RC needs, and 16F1824 was what
I had on hand. Other my beloved 16f1828 is unnecesarry big for this
(but would not have this problem probably)
Unfortunately, I was not able to port existing servo_rc_slave.jal
samples to this PIC, as it complained about some definitions in
interrupt_on_change.jal.

What I found out, is interrupt_on_change.jal uses IOCBF_IOCBF0 to find
out which kind of PIC it is:

--------------------------------------------------------------------------------
-- 16F Midrange code
--------------------------------------------------------------------------------
if defined(IOCBF_IOCBF0) == TRUE then


but 16f1824 has IOC only on port A, but not on B, so it has IOCAF
instead of IOCBF.
16f1828 has IOC on both ports A and B.

Otherwise, IOC should not be different on these chips, so, looks like
interrupt_on_change.jal needs an update with IOCAF.

-- 
KPL

-- 
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 https://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to