ΣSigmaStudio Русский

Binary to Decimal

This module can be used to considers input signals are binary and gives a decimal output value.
Binary to Decimal

Input Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Bit 0int- controlBit 0 of input
Pin 1: Bit 1int- controlBit 1 of input.

Output Pins

NameFormat [int/dec] - [control/audio]Function Description
Pin 0: Outputint - controlDecimal value as integer (32.0)

Grow Algorithm

The module supports growth of input Pins.

Example Usage

This module can be used with GPIOs to convert the multiple GPIO's value into a single integer value.

Example Usage The table below shows the input and output value for the BinToDec module.

GPIO_0 GPIO_1 BinToDec Output (32.0) Lookup Table Output (8.24)
0 0 0 0 db
1 0 1 1 db
0 1 2 2 db
1 1 3 3 db

The output of BinToDec is used as an index for LookUp table. The output of the lookup table can be multiplied with the audio signal as the gain.

Using this schematic signal's volume can be changed through GPIO.

Supported ICs

  1. ADAU145x