Hello all, I simplified the ADC library because of the changes in the ADC for the newer PICs which was not supported. It is - almost - impossible to cover for all the differences. This means that the library has been simplified and the result it that some of the configuration - like selecting the analog inputs, the reference voltage selection and the ADC clock - has to be done in the main program before the library is initialized.
I updated all 26 ADC sample files and created two new ADC sample files (for the 16F18857 and the 18F25k22) and tested 19 of them since I did not have all hardware or PICs available. You can recognize the tested sample files by the comments where the actual output of the program is mentioned. All others are compiled but could not be re-tested. I noticed that some generated sample files did not work - and could not have worked at all - so these where fixed. All sample files are now manually maintained. If you encounter any problems, let me know. Kind regards, Rob Op donderdag 17 juni 2021 om 15:56:36 UTC+2 schreef [email protected]: > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/6c8bbe3a-3c02-4b6c-b5c5-db247508026cn%40googlegroups.com.
