Maker Pro
Maker Pro

8051 internal adc

Hi I am using th internal adc of the 8051 mcu . I need to use all the pins of port 1 as adc. But for a specific function I need to use pin 1.1 , for another function ,pin 1.2 ......

Is there any code to initialize each pin as an internal adc ??

Tnks
 
Hi,

The 8051 don't have any ADC. You maybe use an improved µC based on 8051 core. Please specify the exact IC reference.

Olivier
 
Top