Hi Seb,

On 04/04/10 11:19 am, Sebastien Lelong wrote:

I've committed a new revision of adc_channels.jal lib, with support for
several more PICs, including 18f4525.

I see in adc_channels.jal many if-statements with tests for multiple target-chips, preceeded by a comment with datasheet number.
Every device file contains a constant declaration:
  "const  byte[] DATASHEET = "<number>".
I don't know if this is possible, but it seems to me that a test on datasheet number in stead of a test on every individual PIC_type is more generic (and maybe less error prone).

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