rgrizzell / CircuitPython_LILYGO_T-Deck

CircuitPython drivers for the LILYGO T-Deck
MIT License
9 stars 1 forks source link

Add LoRa support #4

Open Freyr86 opened 10 months ago

Freyr86 commented 10 months ago

Hello I am actively working to improve the ease of use of the T-deck

I propose here a "nano" module which allows text editing directly on the t-deck https://github.com/Freyr86/Emu-nano-linux-for-Lilygo-T-deck

And in the second part an emulation of a linux console which allows navigation between files https://github.com/Freyr86/emul-bash-linux-for-T-Desck

There are two bases to allow the modification of the code in "nomadic" if this interests you

in addition I am going to search your resiprot to modify the code which would allow the use of LoRa I have not yet managed to get it to run with my scripts

If you want to communicate more directly you can find me on Disscord with the same nickname

I would like to thank you for some of your contributions which allowed me to put together my scripts

rgrizzell commented 10 months ago

in addition I am going to search your resiprot to modify the code which would allow the use of LoRa I have not yet managed to get it to run with my scripts

Try using the MicroPython version of the LoRa driver: https://github.com/ehong-tl/micropySX126X In the future, I will work on getting LoRa to work using a driver written specifically for CircuitPython.

Freyr86 commented 10 months ago

I am currently testing it but the problem is that it requires a new initialization of the SPI bus and since the screen uses it I cannot use it at the same time. In addition, the library seems to have errors.

If I find a solution I will let you know but it's a bad idea

Freyr86 commented 10 months ago

Okay, I found the solution, and I'm able to communicate between two T-Decks using LORA. I will post the code soon with a modified library.

Freyr86 commented 9 months ago

Here is a version of a functional point-to-point chat for the T-Deck if you're interested.

https://github.com/Freyr86/Lilygo-T-deck-LORA

rgrizzell commented 9 months ago

Here is a version of a functional point-to-point chat for the T-Deck if you're interested.

https://github.com/Freyr86/Lilygo-T-deck-LORA

Thank you! 😄

I am happy to see that you got that SX126x library working. I am going to create a new CircuitPython driver based on it, and your project will be a helpful working example. My intent is to include that driver in the CircuitPython Community Bundle, much like I've done for this project and the touchscreen driver.

Freyr86 commented 9 months ago

Yes, take advantage, on the other hand I made a lot of modifications to the basic one so if I can help don't hesitate

Freyr86 commented 9 months ago

Update v1.01, I'm going to work on a v2.00 with an additional GUI, along with several tests, it works well.