-
Notifications
You must be signed in to change notification settings - Fork 6
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
Using on Rpi pico #4
Comments
I didn't test this on the raspberry pi pico. It should be perfectly possible. Have you checked the pico micropython documentation ? |
No. I'll check it now. |
you should never use the lora module without antenna or you will damage it. Please post your modified code you have so far. I will have a look at it if I have some time |
It's just the pins, which have to be defined in the UART instance (e.g. tx=4,rx=5) and lib works pretty well on Pico. I've got a weather station sending data every 10 min with your lib and a pico. I've also made modification so it works on regular python on RPI. I'm planning to tidy all up and send you a PR at some point. |
Looking forward to your modifications :-) |
It's been a while :) I've made a multi-python branch of the library, which supports also esp8266, Raspberry Pi Pico and Raspberry Pi. Few days ago, I've added partial support for e32-DTU (outside mounting variant of e32-868). DTU has physical switches for m0 and m1, so I had to ignore these in the code for DTU. Config and Version functions are unusable, unless you physically change the dip switch positions. However sending and receiving for DTU works with the current functions (which is enough for me). Added two new parameters to the constructor: I'm still cleaning some bugs, but it's usable with all mentioned platforms. I've added plenty of comments on my modifications in the code. |
Can i use this library on pico? I'm trying change the values of the library variables like uart ports. Unfortunately i failed about custimize this lib.
The text was updated successfully, but these errors were encountered: