Hi Bill,

I added an alias to cover with the difference but could not test it.

It then compiles without errors so I do not know where your other error message 
comes from. Can you clarify that?

I attached the updated library with the alias. Let me know if it works (or the 
problems you encouter).

Thanks.

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens Bill Beek 
<[email protected]>
Verzonden: donderdag 17 juni 2021 15:56
Aan: jallib <[email protected]>
Onderwerp: [jallib] ADC library

Hello all,

When I tried to do a test with analog input on the 16F18857 I found that the 
library adc.jal gave 7 errors. In particular, the "adcon0_chs" was not 
recognized. The lib of the 16F18857 does recognize it the "adcon0_adcs" . It 
seems that some newer MCU's have this problem as well.  After a change of the 
adc lib a new error occurred,
_error "Found unsupported value for constant ADC_ADCS_BITCOUNT".
Does anyone else have experience with this event or know a solution?
Thanks, Bill

--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/5305520a-4b61-4eba-9e93-0c07e34786d6n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/5305520a-4b61-4eba-9e93-0c07e34786d6n%40googlegroups.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/VI1PR07MB625633840A8177DDBF7BF2EFE60D9%40VI1PR07MB6256.eurprd07.prod.outlook.com.

<<attachment: adc.zip>>

Reply via email to