User manual
Quick Start Instructions
© 2009 Microchip Technology Inc. DS51837A-page 21
1.3.2.8 EXAMPLE 4: MULTI-WRITE COMMAND FOR DAC INPUT REGISTERS
This command writes to the multiple DAC input registers, one register at a time. The
writing channel register is defined by the DAC selection bits (DAC1, DAC0). EEPROM
is not affected by this command.
Figure 1-14 shows an example of creating the PICkit Script file. In this example, the the
PICkit Serial Analyzer sends a write command to the DAC input registers A and B.
FIGURE 1-14: Writing Script file to Write Channel A for FFFh and Channel B for 800h Using a
Multi-write Command.
1. To change value:
• Click this box and
type a new value
2. To delete or Insert box:
• Select the box and
right click the mouse
button for options
available
3. Make sure the listed
parameters in “script
Detail” are in the exact
order as shown here.