I have been using the same code from this post:
https://forum.arduino.cc/index.php?topic=481094.30
I created a code (testecomando and testecarro) to test and the output given is this:
0
0
0
0
0
0
0
0
The code that I used is the one from the beginning of the post on the top, but then when I changed to the solution you gave (which I do not remember why I do not have the code anymore) and I noticed it did not work at all I changed back to what it was and it did not work as well (the codes that I am talking about are the others). It has always worked, but now they do not work anymore.
testecomando.ino (1.16 KB)
testecarro.ino (1.23 KB)
codeForTheCar.ino (9.94 KB)
codeForTheCommand.ino (3.56 KB)