Hey.

I have such a problem.

I need a value e.g. 1234 to divide into 2 elements

1 term (A) = (digit 3 and 4) = 34

2 term (B) = (digit 1 and 2) = 12

in addition, each digit must be as uint8_t

I did something like that

```
long integer = 1234;
uint8_t digits[7]; //7 na wypadek większej liczby
for(int i = 0; i < 7; i++){
digits[i] = integer % 10;
integer /= 10;
Serial.print(digits[i]);
```

On the serial print I get the number 4321000

Now I would like to paste individual numbers into the program

```
A = (digits[1], digits[0]);
B = (digits[3], digits[2]);
Serial.print("A-"); Serial.println(A);
Serial.print("B-"); Serial.Println(B);
```

At output A, I get the number 4 instead of the number 34

At output B I get the number 2 instead of the number 12

I have to combine it and I can’t use multiplication or division, otherwise the data in the program does not work properly

How to solve it ??