I am attempting to send the value of a potentiometer from a Nano to a Due. The data received is just "0", I have successfully transmitted characters. The simple "hello world" program works fine. I have read that it might be something to do with the difference in integer byte sizes between the Nano and Due but I don't know how to resolve this.
The data I'm sending is "radio.write(&data, sizeof(data))", where the data is in 3 arrays, one of which contains the pot value.
At the slave (receiver) I read this with "radio.write(&data, sizeof(data))".
I have no problem transmitting between an Uno and a Nano.
Please help. Thanks