Go Down

Topic: Mirf: Setting target address dynamically. (Read 449 times) previous topic - next topic


I have been working with the Mirf library in the course of a project I'm working on. This is working fine, however I walked into a problem.

For the project, I use an Arduino as a 'base station' to send and receive radio communication. The idea of this base station is that it is able to send commands to nodes in the vicinity. I currently have programmed the receiver and target address hardcoded in all Arduinos in the network. However, I want to set the target address on the base station dynamically.

I currently have written the following program to send commands using Serial communication with a server. It reads back the target address perfectly, but setting it appears to not be working. When I manually set it to the correct address, everything works fine. The code that is troubling me starts at line 93.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131