Table of Contents

ConfigureDI1 register

Specifies the operation mode of the digital input 1 (DI1).

Address
42
Payload type
U8
Access
Write

Payload

The payload is one of the values listed below.

Interface type
DIMode
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.

Examples

Set mode and sound

Set mode and sound on DI1

Visualize digital input events

Visualize digital input events on DI1