AMX NXP-CPI16 manual SendCommands, Bmode, Levoff, Levon

Models: NXP-CPI16

1 18
Download 18 pages 21.9 Kb
Page 10
Image 10
Send_Commands

Send_Commands

Use the Send_Commands listed in the table below to program the NXP-CPI16.

Send_Commands

BMODE

Syntax:

Configures either

‘BMODE <bargraph #> <bargraph mode>’

set of 8 outputs as

Variables:

an 8-segment bar-

Where <bargraph #>

graph display.

1

- Selects bargraph 1 (outputs 1 - 8)

 

 

2

- Selects bargraph 2 (outputs 9 - 16)

 

Where <bargraph mode>

 

0

- normal bar mode

 

1

- normal dot mode (only one peak LED on at a time)

 

2

- special bar mode (a level of 1 - 15 still has the first LED on)

 

3

- special dot mode (a level of 1 -15 still has the first LED on)

 

4

- inverse normal bar mode

 

5

- inverse normal dot mode

 

6

- inverse special bar mode

 

7

- inverse special dot mode

 

8

- individual element, discrete mode

 

9

- inverse individual element, discrete mode

 

OFF - disables bargraph mode [default]

 

The command is used to configure either set of 8 outputs as an 8-segment bargraph dis-

 

play. By default, Bargraph mode is OFF and all outputs are discrete outputs that are con-

 

trolled via CHANNEL ON/OFF messages. If this command is received, the selected bank

 

of 8 outputs will respond according to the selected mode.

 

In modes 8 and 9, the discrete LEDs that are ON correspond to the bit mask sent via a

 

Send_Level command. For Example:

 

SEND_LEVEL CPI16, 3, $5A

 

Turns on LEDs 2, 4, 5, and 7 of bargraph #1.

 

Example:

 

SEND_COMMAND ‘BMODE 1 0’

 

Reconfigures Outputs 1 - 8 such that they now act as an 8-segment bargraph.

 

 

LEVOFF

Syntax:

Keeps any level

‘LEVOFF’

value from trans-

The NXP-CPI16 will not transmit any level value messages after the receipt of this com-

mitting.

mand until the receipt of another LEVON command.

 

 

 

LEVON

Syntax:

 

‘LEVON’

 

The NXP-CPI16 transmits level value messages after the receipt of this command.

 

 

 

Page 10
Image 10
AMX NXP-CPI16 manual SendCommands, Bmode, Levoff, Levon