Pages: [1]   Go Down
Author Topic: maniacbug's rf24 libraries - How to change data rate?  (Read 141 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't for the life of me figure out how to do this... I feel really dumb because I'm sure that it is simple, but frankly I feel that it is still beyond my abilities...

Can anyone lend a hand?

Thanks.
Logged

UK
Offline Offline
God Member
*****
Karma: 17
Posts: 568
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can't lookmfor you directly at the moment but it is inone of the files, probably RF24.cpp

Do a search for 1MBPS or 2MBPS.

I can look properly tomorrow if you haven't solved it by then.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah... So I really feel dumb...

If anyone else runs into this problem and is using both the RF24 library and the RF24 Network library... the RF24 Network will change the data rate set in the RF24 library to 1MBPS as a default. Meaning if you set the data rate in the RF24 library or if you change the data rate using "radio.setDataRate" prior to calling "network.begin" then the setting will not persist. If you set the data after "network.begin" then the print details will not be accurate the data rate should be whatever was set.
Logged

Pages: [1]   Go Up
Jump to: