![]() |
I2C - Current Address Read
The I2C library Read() code is
Code:
Synchronized sync(m_semaphore);Does anyone have I2C code for Current Address Read? Start -> Address|1 -> Ack -> Data -> No Ack -> Stop |
Re: I2C - Current Address Read
Quote:
So you want to read without sending the register address? If that is what you mean, you should be able to simply use the new "Transaction" entry-point in the I2C class and pass 0 for the sendSize. This was added in the update that came out today. -Joe |
Re: I2C - Current Address Read
As usual, you are one step ahead. Thanks.
EDIT - any idea if/when the new sources will be posted at firstforge? |
Re: I2C - Current Address Read
Quote:
|
Re: I2C - Current Address Read
I was looking at the snapshot area, and the new source zip file didn't make it to there yet.
snapshot EDIT - there is a new release there, but it looks like it is the update patch, not the source zip file. |
Re: I2C - Current Address Read
Quote:
|
Re: I2C - Current Address Read
Whoops... just put up the team update... not the source... just a few more minutes.
|
Re: I2C - Current Address Read
Sorry for the confusion... the source is now posted as a snapshot.
|
| All times are GMT -5. The time now is 10:39 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi