Go Down

Topic: pcf8574p port expander addressing (Read 1 time) previous topic - next topic

kevin99

Can anyone elaborate on the addressing of this chip?  With A0, A1, and A2 connected to ground the address is

Code: [Select]
#define expander B00100000

How do i go about changing the address?  What is the alternate to connecting the addressing pins to ground and how would that correlate with the #define statement?

knightschade

It's in the data sheet for more detail. But the last 000 ( B00100(000) are corresponding to pins A0,A1,A2 of the chip itself. Your two options are gnd or V+. So for example:
If you put A0 and A1 to V+ and A2 to Gnd the address would be =

B00100110
Resistance is Futile

kevin99


Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview