danners430
Member
Afternoon (again) ladies and gentlefolks,
Hopefully a quick question with regards to the syntax of the hi2csetup, hi2cout and hi2cin commands, specifically addressing.
My bus is going to have multiple slave devices for various different things. It seems that you have to set a slave address in hi2csetup, and then either run with it or specify a new address in hi2cout/in. Is this assumption correct?
Also, to save my sanity, is there a way to bypass this and to send data on the bus exactly as written on screen, so for example hi2cout $0F $FF $FF, where in this example $0F is the device address? Would make the programming easier in my mind at least
Hopefully a quick question with regards to the syntax of the hi2csetup, hi2cout and hi2cin commands, specifically addressing.
My bus is going to have multiple slave devices for various different things. It seems that you have to set a slave address in hi2csetup, and then either run with it or specify a new address in hi2cout/in. Is this assumption correct?
Also, to save my sanity, is there a way to bypass this and to send data on the bus exactly as written on screen, so for example hi2cout $0F $FF $FF, where in this example $0F is the device address? Would make the programming easier in my mind at least