Sonsivri

Electronics => Pic Basic Languages => Topic started by: mmemory on May 17, 2008, 08:27:20 08:27



Title: MCP23017 and Proton Basic
Post by: mmemory on May 17, 2008, 08:27:20 08:27

Does Anybody use MCP23017 port expander with proton basic?

Posted on: May 16, 2008, 12:22:54 12:22 - Automerged


I think nobody used MCP23017 ?
This IC is 16 port bidirectional IO port expander.
Controls with SDA and SCL type bus.
I'm trying to use it but some functions does'nt work .


Title: Re: MCP23017 and Proton Basic
Post by: pickit2 on May 17, 2008, 11:20:28 11:20
not suprised you got no take up on this
1:
Does Anybody use MCP23017 port expander with proton basic?

Posted on: May 16, 2008, 12:22:54 12:22 - Automerged

that a question
2:
Quote
I think nobody used MCP23017 ?
This IC is 16 port bidirectional IO port expander.
Controls with SDA and SCL type bus.
I'm trying to use it but some functions does'nt work .
Statement and it must work or microchip would not sell them.
you do not say what funtions you can't get to work, again if they are in the data sheet, they sould work. :P
the MCP23017 we have used then in my place of work, but I'm off on sick leave, so can't look project up.
I don't remember any problem using them, with 16F690 and the 18F2550.


Title: Re: MCP23017 and Proton Basic
Post by: mmemory on May 21, 2008, 12:36:27 00:36
Thanks pickit2

It works succesfully,
The problem was in proteus.
I tried to work with simulate program at the first time.
proteus gives fault sometimes. for example when write initialize line portA before portB gives an error,
when you remove pullup rezistors register line it works.
Finally it works on hardware.
I used 16F628
If I can find sample program it would be easier.