Sx i2c
Rsadeika
Posts: 3,837
Trying to get some clarification about hooking up an SX tech board with an SX52 proto board using I2C. Is it as simple as hooking a wire to, lets say, RA.0 and another wire to RA.1 on to both boards, and I would be ready to have the boards talk to each other, with the proper programs of course. And I noticed, in the docs special notes, that it recomends some pull-ups. If I just use PLP_A, would that suffice. Looking for some comments and direction.
Thanks in advance
Thanks in advance
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
I2C slave code is quite a bit more complecated.
For general communication I would use serial.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
Those that would give up freedom for security will have neither.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
I guess two wires is fine, right? Just to get my toes wet, I want to set up a simple experiment, on one board I will have my IR detector, on the other board I will have an LED on/off circuit. Press the remote and see if the LED lights up on the other board. I am looking at Guenther's book for possibly adding a slave aspect, once I feel comfortable with this.
Does anybody have a simple schematic for implementing an I2C connector·on an SX52 proto board, something that I could understand. This of course would be for a master/slave approach.
Thanks