Package hw
Class IO

Public Method setMultipleOutputs

static void setMultipleOutputs(int outMask, int blinkMask)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Range Description
outMask 0x0000 ... 0xFFFF every set bit represents an output turned on
blinkMask 0x0000 ... 0xFFFF every set bit represents a blinking output

Sets multiple outputs, similar to the IO.setOutput(int, int) method.

Note

Example

IO.setMultipleOutputs(0xA, 0x500);

This turns on outputs #1 and #3 (0xA = Bin 0000 0000 0000 1010) and sets outputs #8 and #10 (0x500 = Bin 0000 0101 0000 0000) to blink.

See also:

IO
IO.setOutput(int, int)
IO.setOutputBlinkFrequency(int)