I knew Problem 1 will take longer! :D
I'm trying other switches (byte, bit combination) still same result.
Although thanks for that! I'm getting into that slowly but surely.
10th bit of the data package
Since byte has 8 bits (0-7). Am I right then, that to send 10th bit, do I need to write it like this?
bitWrite(doPC[1], 2, !digitalRead(33));
Does that mean, that switch group equals byte in brackets? [ ]
If yes, then in Maszyna UART xml doc "Numer bajtu struktury" should work for inputs. But for outputs, column "Nr bajtu transmisji danych" works just fine. (atleast for me) Is this right? I find it rather confusing (maybe because i dont understand Polish much). I was looking into column "Nr B danych" and was confused why 0 was used here.
bitWrite(doPC[0], 7, !digitalRead(41)); // przycisk CA/SHP