
Originally Posted by
mychangl
Thx Luciano for the suggestion. It really a new thing for me.
But why both MCP23008 and MCP23016 have 3 addresses ?
Can MCP23016 work with 16f84a ?
Hi,
Code:
With three address lines you can set the address of up to eight devices.
Binary / Decimal
============
000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7
The MCP23016 will work with the 16f84a.
Use the software I2C commands of PicBasic Pro. (I2CIN and I2COUT).
* * *
See also this: (Basic Stamp + MCP23016).
http://www.parallax.com/dl/docs/cols.../col/nv109.pdf
Best regards,
Luciano
Bookmarks