beautypg.com

Rainbow Electronics DS1803 User Manual

Page 5

background image

DS1803

5 of 11

allows the user to write both potentiometers to the same value with one command and one data value
being issued.

All the write operations begin with a START condition. Following the START condition, the master
device will issue the control byte. The read/write bit of the control byte will be set to ‘0’ for writing the
DS1803. Once the control byte has been issued and the master receives the acknowledgment from the
DS1803, the command byte is transmitted to the DS1803. As mentioned above, there exist three write
operations that can be used with the DS1803. The binary value of each write command is shown in Figure
5 and also in the Table 1.

2-WIRE COMMAND WORDS Table 1

COMMAND

COMMAND VALUE

Write Potentiometer-0

101010 01

Write Potentiometer-1

101010 10

Write Both Pots

101011 11