This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython-lib
kopia lustrzana
https://github.com/micropython/micropython-lib
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython-lib
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
c61ca51c67
micropython-lib
/
micropython
/
lora
/
lora-sx126x
/
manifest.py
4 wiersze
58 B
Python
Czysty
Zwykły widok
Historia
Unescape
Escape
lora-sx126x: Change to class-level memoryview for _cmd buf. Currently, the LoRa SX126x driver dynamically creates at least one, sometimes two, memoryview objects with each call to `_cmd`. This commit simply provides the class with a long-lived memoryview object for `_cmd` to easily slice as necessary. Unlike the SX127x chips, Semtech unfortunately designed the SX126x modems to be more command-centric (as opposed to directly setting registers). Given the amount `_cmd` is called during normal device operation, even a minor improvement here should have a decent impact. Basic TX and RX tests pass on hardware. Signed-off-by: Max Holliday <maholli@stanford.edu>
2024-07-09 03:01:02 +00:00
metadata
(
version
=
"
0.1.3
"
)
lora: Add lora modem drivers for SX127x and SX126x. Includes: - component oriented driver, to only install the parts that are needed - synchronous operation - async wrapper class for asynchronous operation - two examples with async & synchronous versions - documentation This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
2022-06-28 23:50:15 +00:00
require
(
"
lora
"
)
package
(
"
lora
"
)