Replies: 1 comment 2 replies
-
Briefly going throuhg the code, I don't see anything immediately obvious. Could you try to run the code in debug verbose mode as described on the wiki? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
![Zrzut ekranu 2022-03-21 143006](https://user-images.githubusercontent.com/49206712/159271200-f9d64e15-3ecd-4119-bee5-1b25c13ccae4.jpg)
I'm working with lora E220, and trying to transmitt data, but after radio.begin() I'm getting state error code -20.
My begin function has params like this:
radio.begin(869.5, 500.0, 11, 8, SX126X_SYNC_WORD_PRIVATE, 1, 8, 0);
With bw=125.0 and sf=9, everything works perfectly, and I read that with bandwidth equals to 500.0 kHz, I should be able to set spreading factor to 11.
I was also trying to use
radio.setSpreadingFactor(11);
afterradio.begin(869.5, 500.0, 9, 8, SX126X_SYNC_WORD_PRIVATE, 1, 8, 0);
, and there is no state error, but it doesn't seems to change sf to 11.Am I doing something wrong?
Regards.
Beta Was this translation helpful? Give feedback.
All reactions