Table of Contents

ConfigureDI0 register

Specifies the operation mode of the digital input 0 (DI0).

Address
41
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

Visualize digital input events

Visualize digital input events