Yes indeed it was a simulation. Still very valuable as long as it replaces
nasty debugging...

I've solved the issue. The problem was the length of the ADC procedure.
It's good to know/remember that if use only four ADC channels from 23
available (PIC18F25k50):
- all registers which can be set prior to run the procedure should be done
only once (ADCON2_ADCS, ADCON2_ACQT, ADCON1_PVCFG, ADCON1_NVCFG,
ADCON2_ADFM, ANSELB, ANSELC)
-even the ADC has 23 channels, only the four used should be kept in the
if-elsif-end structure, else the compile will waste time with if procedure
instead of doing other useful things
As a conclusion (I already known): there isn't a universal ADC library
which can be used properly  in any situation.
thx all,



On Sat, Nov 13, 2021 at 2:28 PM 'Oliver Seitz' via jallib <
[email protected]> wrote:

>
>
> Am Samstag, 13. November 2021, 12:27:04 MEZ hat vsurducan <
> [email protected]> Folgendes geschrieben:
>
>
> "Old jal (Wouter's) had a feature for testing computation at the compile
> time. I realized it was very useful even if using constants for testing
> math routines."
>
>
> If that is the case, it's still no part of compilation but some sort of
> simulation. Can be that it was included in that compiler, but it's nothing
> a compiler needs to do in general.
>
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jallib/408706160.298701.1636806482097%40mail.yahoo.com
> <https://groups.google.com/d/msgid/jallib/408706160.298701.1636806482097%40mail.yahoo.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/CAM%2Bj4qt1O%3DipTHvZt3-qHO1fPixSJ%2B5hHXhAp9thLGCvKefThg%40mail.gmail.com.

Reply via email to