Hi everyone, that's my first question on this forum.
I'm using two Arduino UNO talking trough these RF module (https://lastminuteengineers.com/433mhz-rf-wireless-arduino-tutorial/) the wiring of mine is the same of this guy's.
I'm having a problem with the two different codes: the receiver doesn't read the value that i'm sending. I'm using the RadioHead library (http://www.airspayce.com/mikem/arduino/RadioHead/ and I've changed the first example (the one that send the "hello world" message) into a code that send an integer value but I cannot see the value on my receiver.
I have already read the question similar to mine ([solved] Problem with 433mhz radiohead lib sending integer - #2 by Eliminateur) but i cannot understand what I've done wrong.
That's the code for the sender:
The first thing to do is to verify that your setup works "out of the box" with the RadioHead library, using one of the simple examples.
If that works, then you can modify the code.
If it doesn't, eliminate the possibility of faulty radios or faulty radio wiring by connecting the two Arduinos with wires (as described in the library documentation), and test again.
The statement doesn't fail because it print something, that's my conclusion but maybe I'm wrong about it. I've also changed the size of the variables but still nothing.