Hi Seb,

Sebastien Lelong wrote:

> PS: in adc_pindef.jal, I define a constant:
> 
> 
> const byte ADC_NTOTAL_CHANNEL = 2
> 
> 
> This is the total number of ADC channels. I'm not using it right now, but I
> may use it later to do some sanity check (if user wants more channels than
> available => error). Could this be added in device files as well ? 

Already working here. I count the ANx aliases per PIC in my 
python-to-rexx conversion script and store it in PinMap.cmd. The dev2jal 
script picks it up during device file generation.

Q: Do you want this constant in every device file or only when then 
number is greater than zero?

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