Murtaza писал(а): ↑16.03.2022{, 15:18}
need help
Какая у Вас стоит задача - понять, как работает блок или что-то реальное подключить?
Почему Вы хотите использовать именно его?
What is your task - to understand how the block works or to connect something real?
Why do you want to use it?
The block is designed to output digital (for now) information of both positive and negative values.
The indicator is built on two 74H595 shift registers and is called a 4-Bit LED Digital Tube Module.
InputFloatValues - input for Float values.
positionNumberFloat - input for specifying the number of the indicator section from which the output will begin. The value is from 0 to 3. Count from right to left.
enableOutputFloat - input that allows or disables the output of Float values.
numberCodeSymbols - Input to which the code number of a symbol or digit is supplied ( look in the array ) 0-28
positionNumberSingleChar - Input for specifying the number of the indicator section on which to output a separate character.
enableOutputSingleChar - The input allows the output of symbols and numbers to the indicator in a separate section of the indicator.
inputIntValues2digits - input for output of positive two-digit integers.
positionNumber2digits - Input for specifying the digit number in which the second digit of a two-digit number will be output. 0 - 2 Note the SECOND digit, not the first.
enableOutput2digits - The input allows the output of two digit digits to the indicator.
inputIntValues4digitsShowZero - input for the output of positive integer four digits, zeros are lit in unoccupied positions.
enableOutput4digitsShowZero - The input allows the output of four digits with zeros in free digits to the indicator.
inputIntValues4digitsHideZero - input for the output of positive integer four digits, in unoccupied positions the digits are extinguished.
enableOutput4digitsHideZero - Input allows output to the indicator, four digit digits, free digits are extinguished.
Character codes:
LED_0F[0] = 0xC0; //0
LED_0F[1] = 0xF9; //1
LED_0F[2] = 0xA4; //2
LED_0F[3] = 0xB0; //3
LED_0F[4] = 0x99; //4
LED_0F[5] = 0x92; //5
LED_0F[6] = 0x82; //6
LED_0F[7] = 0xF8; //7
LED_0F[8] = 0x80; //8
LED_0F[9] = 0x90; //9
LED_0F[10] = 0x88; //A
LED_0F[11] = 0x83; //b
LED_0F[12] = 0xC6; //C
LED_0F[13] = 0xA1; //d
LED_0F[14] = 0x86; //E
LED_0F[15] = 0x8E; //F
LED_0F[16] = 0xC2; //G
LED_0F[17] = 0x89; //H
LED_0F[18] = 0xF9; //I
LED_0F[19] = 0xF1; //J
LED_0F[20] = 0xC3; //L
LED_0F[21] = 0xA9; //n
LED_0F[22] = 0xC0; //O
LED_0F[23] = 0x8C; //P
LED_0F[24] = 0x98; //q
LED_0F[25] = 0x92; //S
LED_0F[26] = 0xC1; //U
LED_0F[27] = 0x91; //Y
LED_0F[28] = 0xFE; //hight -