i2cout equivalent on a bs2
jfox
Posts: 21
· I had a couple 12c devices running on a bs2pe and·things were looking up·when it appears I
fried my pe by running the wrong program.now im trying to set it up on a bs2 with shiftin and shiftout
·and ack and nak and im going wak. the code below read out an hour minute second display from
a philips8583. can any one give me the functional equivalent of·this for bs2·;
···········I2COUT 8 , $A2 ,0,[noparse][[/noparse]0]
·········· pause 1000
·········· I2Cin 8, $A2, 2,[noparse][[/noparse]seconds]
Post Edited (jfox) : 6/24/2008 3:00:42 AM GMT
fried my pe by running the wrong program.now im trying to set it up on a bs2 with shiftin and shiftout
·and ack and nak and im going wak. the code below read out an hour minute second display from
a philips8583. can any one give me the functional equivalent of·this for bs2·;
···········I2COUT 8 , $A2 ,0,[noparse][[/noparse]0]
·········· pause 1000
·········· I2Cin 8, $A2, 2,[noparse][[/noparse]seconds]
Post Edited (jfox) : 6/24/2008 3:00:42 AM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Post Edited (Franklin) : 6/24/2008 3:50:47 AM GMT
-Phil