I2C with the SX28 (SX/B not ASM)
Hey Everyone,
I've been looking into using th PCF8574 in a project, orriganally I was going to use the BS2-40, but for several reasons, I decided to use the SX28 instied.· The BS2p the I2C syntax looks like this:
[font=TimesNewRoman,Bold size=2]I2COUT· Pin, [/font]SlaveID, Address {\LowAddress}, [noparse][[/noparse]OutputData]
[font=TimesNewRoman,Italic size=2]However, in SX/B it looks like there is no place to put the Slave ID or the Address.· How do you specify them.[/font]
Thanks,
crgwbr
[font=TimesNewRoman,Italic size=2]
[/font]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
I've been looking into using th PCF8574 in a project, orriganally I was going to use the BS2-40, but for several reasons, I decided to use the SX28 instied.· The BS2p the I2C syntax looks like this:
[font=TimesNewRoman,Bold size=2]I2COUT· Pin, [/font]SlaveID, Address {\LowAddress}, [noparse][[/noparse]OutputData]
[font=TimesNewRoman,Italic size=2]However, in SX/B it looks like there is no place to put the Slave ID or the Address.· How do you specify them.[/font]
Thanks,
crgwbr
[font=TimesNewRoman,Italic size=2]
[/font]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
Comments
I2CStart Pin
I2CSend Pin, SlaveID
I2CSend Pin, Address
I2CSend Pin, LowAdress
I2CSend Pin, OutputData
I2CStop Pin
See the example in the help file for the I2C commands.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life