multiple adc inputs?
Posted: Mon Feb 06, 2006 4:49 pm
Hi there,
I have an application in mind requiring me to read in three analogue channels as basis to calculate a response. I am using the PIC16F88 for this. So far, I have been experimenting with the Eblocks programmer, the experimenter board and flowcode prof.
I've managed to read the value of a potentiometer connected to D2 on port A using the tutorial26 flowchart. However, when I start looking for the "thermometer" and associated ADC macros (trying to import them) to try and adapt them to read other ADC's as well I cannot find the macros at all. I did come across a sensor_library.asm that I could include in a C block diagram but that looked like it would only read a value on D3?
My question: Is there a a generic flowcode macro for ADC conversion where you can select the input bit(s) on the picmicro or an easy way to implement something like that?
Would appriciate your suggestions
I have an application in mind requiring me to read in three analogue channels as basis to calculate a response. I am using the PIC16F88 for this. So far, I have been experimenting with the Eblocks programmer, the experimenter board and flowcode prof.
I've managed to read the value of a potentiometer connected to D2 on port A using the tutorial26 flowchart. However, when I start looking for the "thermometer" and associated ADC macros (trying to import them) to try and adapt them to read other ADC's as well I cannot find the macros at all. I did come across a sensor_library.asm that I could include in a C block diagram but that looked like it would only read a value on D3?
My question: Is there a a generic flowcode macro for ADC conversion where you can select the input bit(s) on the picmicro or an easy way to implement something like that?
Would appriciate your suggestions