beautypg.com

Isd5100 – series – Rainbow Electronics ISD5100 User Manual

Page 38

background image

ISD5100 – SERIES

- 38 -

WaitACK
WaitSCLHigh
SendByte(row%256) - low address byte
WaitACK
WaitSCLHigh
I2CStop

repeat until the number of RAC pulses are one less
than the number of rows to delete
{
wait RAC low
WAIT RAC high
}

Note: If only one row is going to be erased,
send the following STOP command immediately after
ERASE command and skip the loop above

I2CStart
SendByte(0x80) - Write, Slave address zero
WaitACK
WaitSCLHigh
SendByte(0xc0) - Stop digital erase
WaitACK
WaitSCLHigh
I2CStop

wait until erase of the last row has completed
{
wait RAC low
WAIT RAC high
}

I2CStart
SendByte(0x80) - Write, Slave address zero
WaitACK