Go Down

Topic: Mirf: Setting target address dynamically. (Read 592 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