I get the message "Unable to add component" when I try to use the ADC component with a 16f627A
However the 16f627A has four analogue inputs on pins 1,2,17,18
Most of the ADC references seem to be missing in the FCD file, I do not know enough to modify this file, especially the ADCCapture line.
I understand the analogue inputs are low resolution on this chip. Four bits is enough for my application.
Please help
ADC support for 16F627A
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
The 16F627A does not have analogue inputs as such according to its datasheet. What it does have is a two pin analogue comparitor module. This means that you cannot use the pins as stand alone analogue inputs as the registers to hold the analogue reading do not exist on the chip. To obtain analogue readings you may wish to choose another PICmicro device. The 16F88 is an 18 pin device with an analogue input module.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel