Absolutelly,Originally posted by garret
hi all. I am using some max6956 chips with a 16f877a. There is a limit of 16 addresses with the 6956. I need to run towards 18 or so.
The question is....can I use two I2C channels with PBP and use 4 pins.
Once having declared I2C on two pins, does that exclude new I2C statements that will be put out on another two pins.
I hope I have explained well enough. Any and all help is entirely welcome...Garret
Just add two more variables e.g.
SDA1 VAR Portx.x
SCL1 VAR Portx.y
SDA2 VAR Porty.x
SCL2 VAR Porty.y
... and call them with your I2CREAD/I2CWRITE statements.
--
Sincerest regards,
YZ7REA Vladimir M Skrbic
4N7ATV Repeater Administrator
YU7GHZ Radio Club President
Bookmarks