rf12_control: setting RF baudrate
I attempted to set baudrate to 9600, as suggested on forum, like this:
But sometimes later, when actually attempting to send something, JeeLink hangs.
Then I modified rf12_initialize(), changed
rf12_xfer(0xC606); // approx 49.2 Kbps, i.e. 10000/29/(1+6) Kbps
rf12_xfer(0xC623); // 9600
and it seems to work fine.
Didn’t try to receive anything just yet, but at least it does not hang.
What’s the catch?
RE: rf12_control: setting RF baudrate - Added by jalmasi over 4 years ago
The catch is - Arduino IDE!
Tomorrow it fixed itself:)
Took me a while to recreate the issue, accidentally.
But when such nonsense happens, restarting IDE then reprogramming helps.