Hi Seb,
I've tried to understand how to work with the ADC by reading the blog, some of the samples and the html docs. But I'm afraid it is rather foggy. I want to build a single channel dimmer with a 12F683: a potmeter on GP4/AN3 and PWM output on GP2/CCP1. Should be simple! It is not clear to me if I have to specify adc_nchannel is 1 or 4. I suspect I need 4 (since I use AN3), but how to 'get back' GP0/AN0..GP2/AN2 for other work? I cannot get rid of a compile error: k:/jallib/include/peripheral/adc/adc_clock.jal:149: "jallib_adcs" not defined I've browsed the ADC libs but I could not find a reference to the 12F683. It is supposed to be supported? It would be nice if you could provide me with an elementary setup! 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 -~----------~----~----~----~------~----~------~--~---
