Isd5100 – series – Rainbow Electronics ISD5100 User Manual
Page 42
Advertising

ISD5100 – SERIES
- 42 -
7.5.4.2. Write Digital Data
Write
=====
I2CStart
SendByte(0x80) - Write, Slave address zero
WaitACK
WaitSCLHigh
SendByte(0xc0) - Enter Digital Mode Command
WaitACK
WaitSCLHigh
I2CStop
I2CStart
SendByte(0x80) - Write, Slave address zero
WaitACK
WaitSCLHigh
SendByte(0xc9) - Write Digital Data Command
WaitACK
WaitSCLHigh
SendByte(row/256) - high address byte
WaitACK
WaitSCLHigh
SendByte(row%256) - low address byte
WaitACK
WaitSCLHigh
repeat until all data is sent
{
SendByte(data) - send data byte
WaitACK()
WaitSCLHigh()
}
I2CStop
Advertising