Firmware-830 Command-105

From I-CubeX Wiki
Revision as of 21:10, 29 May 2023 by Admin (talk | contribs) (CLEAR CONFIG (105, 69h))
Jump to: navigation, search

CLEAR CONFIG (105, 69h)

The CLEAR CONFIG command sets all settings stored in non-volatile memory to default values and re-initializes all internal parameters to the initial values for a WiDig set to stand-alone mode (see RESET – note that the RESET is not executed). See the EDIT NAME, EDIT CONFIG commands for default values of settings stored in non-volatile memory. Upon completion of the command the WiDig sends the same command.

The [BODY] of the CLEAR CONFIG command:

00000001: 1; configuration number

Default values for each sensor input and all actuator outputs are re-instated:

MIDI running status 1; disabled (each channel voice MIDI message includes a MIDI status byte)
System exclusive ID: 0
Mode of operation: 1; stand-alone
Configuration name: “WiDig”
Sensor sampling rate: 10 ms
Sensor input MIDI mapping type: if (virtual sensor input number < 32) then control-change else note-on
Sensor input MIDI channel: 1
Sensor input MIDI control-change or note-on number: (((virtual sensor input number % 8) << 2) + ((virtual sensor input number & 31) >> 3)
Sensor input impulse end notification: 0; off
Sensor input impulse maximum set to constant: 0; off
Sensor input cont. and/or impulse signal differentiation: 0; off
Sensor input continuous signal averaging: 0; off
Sensor input impulse signal processing: 0; off
Sensor input continuous signal processing: 1; on
Sensor input threshold: 0
Sensor input ceiling: 127
Sensor input noise gate: 0; off
Sensor input time window: 0; off
Sensor input minimum value of MIDI output MSB 0;
Sensor input maximum value of MIDI output MSB 127;
Sensor input function number: 0; off
Sensor input function parameter 1: 0;
Sensor input function device address / parameter 2: 0;
Sensor input to Actuator output mapping: 0; off
Actuator output status: 0; off
Actuator output continuous control status: 0; off
Actuator output threshold control duration or continuous control value (method or pulse width): 0
Actuator output pulse interval: 20 ms
Actuator output pulse width range: 1-2 ms

The virtual sensor input number ranges from 0 to 63 because in stand-alone mode each physical sensor input, if configured for an I2C sensor, can have 8 virtual inputs.