Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

power settings #1

Open
ctorney opened this issue Aug 16, 2021 · 1 comment
Open

power settings #1

ctorney opened this issue Aug 16, 2021 · 1 comment

Comments

@ctorney
Copy link

ctorney commented Aug 16, 2021

Hi
Thanks for creating this. I've been modifying the code to work with circuitpython but was getting some strange results with high power settings. I think this line is the issue:

u-lora/ulora.py

Line 168 in 3212535

if self._tx_power < 20:

Should this be a greater than instead of a less than? This is code is different to the radiohead library (but I noticed the same as the raspi-lora code).
I changed to match the original radiohead code and was able to use at high power.
Cheers

@martynwheeler
Copy link
Owner

martynwheeler commented Aug 16, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants