DIMode group mask

Specifies the operation mode of a digital input.

Type
byte

Values

Name Value Description
Digital 0

Used as a pure digital input.

StartAndStop 1

Starts sound index (if less than 32) or frequency (if greater or equal than 32) on a rising edge and stops it on a falling edge.

Start 2

Starts sound index (if less than 32) or frequency (if greater or equal than 32) on a rising edge.

Stop 3

Stops the sound or frequency being played on a rising edge.