18F8520 inputs

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Roy Johnston
Flowcode V4 User
Posts: 220
Joined: Mon Aug 24, 2009 8:38 am
Has thanked: 2 times
Been thanked: 34 times
Contact:

18F8520 inputs

Post by Roy Johnston »

This chip has inputs designated as ANxx. This is clear it is an analogue input.
It also has inputs Axx . – I am under the impression this is also analogue.
It also has ADxx – I am under the impression this is also analogue.
However, I cannot assign Axx And ADxxx to the potentiometer.
What type of inputs are these.

chipfryer27
Valued Contributor
Valued Contributor
Posts: 663
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 184 times
Been thanked: 203 times
Contact:

Re: 18F8520 inputs

Post by chipfryer27 »

Hi

ANxx such as Port A1 = Analogue Input

Axx such as Port H2 = Address bit for external memory

ADxx such as Port E3 = Address / data bit for external memory

Chapter 10 of the 18F8520 datasheet explains in detail and of course the pins have other functions too such as Digital I/O.

Regards

Roy Johnston
Flowcode V4 User
Posts: 220
Joined: Mon Aug 24, 2009 8:38 am
Has thanked: 2 times
Been thanked: 34 times
Contact:

Re: 18F8520 inputs

Post by Roy Johnston »

Thank you.

User avatar
AbhijitR
Posts: 299
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 280 times
Been thanked: 79 times
Contact:

Re: 18F8520 inputs

Post by AbhijitR »

Hello!

Cheers to you Chipfryer, thank you.

Post Reply