Skip to content

Commit 3dd9bb2

Browse files
committed
Change version to 1.3.0
1 parent b87d8f2 commit 3dd9bb2

File tree

6 files changed

+21
-16
lines changed

6 files changed

+21
-16
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ __pycache__/
1111
.Python
1212
build/
1313
develop-eggs/
14-
dist/
14+
dist/*
15+
!dist/*.whl
1516
downloads/
1617
eggs/
1718
.eggs/

LICENCE renamed to LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2021 Chandra Wijaya Sentosa
1+
Copyright (c) 2022 Chandra Wijaya Sentosa
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

LoRaRF/SX126x.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ class SX126x :
250250
# SPI and GPIO pin setting
251251
_bus = 0
252252
_cs = 0
253-
_reset = -1
254-
_busy = -1
253+
_reset = 22
254+
_busy = 23
255255
_irq = -1
256256
_txen = -1
257257
_rxen = -1

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
[![GitHub stars](https://img.shields.io/github/stars/chandrawi/LoRaRF-Python)](https://github.com/chandrawi/LoRaRF-Python/stargazers)
55
[![PyPI - Downloads](https://img.shields.io/pypi/dm/LoRaRF)](https://pypi.org/project/LoRaRF/)
66
[![PyPI](https://img.shields.io/pypi/v/LoRaRF)](https://pypi.org/project/LoRaRF/)
7-
[![GitHub license](https://img.shields.io/github/license/chandrawi/LoRaRF-Python)](https://github.com/chandrawi/LoRaRF-Python/blob/main/LICENCE)
7+
[![GitHub license](https://img.shields.io/github/license/chandrawi/LoRaRF-Python)](https://github.com/chandrawi/LoRaRF-Python/blob/main/LICENSE)
88

9-
# LoRa-RF Python
9+
# LoRa-RF Python Library
1010

1111
LoRa-RF Python is a library for basic transmitting and receiving data using LoRa module with Semtech SX126x series or LLCC68. The library works by interfacing SPI port and some GPIO pins under linux kernel. Support configuring frequency, modulation parameter, transmit power, receive gain and other RF parameters on both LoRa and FSK modulation also support handling transmit and receive using interrupt signal.
1212

13-
This readme written for quick start guide. Visit this [link](https://github.com/chandrawi/LoRaRF-Python/wiki) for complete documentation.
13+
This readme is written for quick start guide. Visit this [link](https://github.com/chandrawi/LoRaRF-Python/wiki) for complete documentation.
1414

1515
## Hardware Compatibility
1616

@@ -45,9 +45,9 @@ python3 setup.py bdist_wheel
4545
pip3 install dist/LoRaRF-1.3.0-py3-none-any.whl
4646
```
4747

48-
## Using LoRaRF Library
48+
## Initialization
4949

50-
First you must include `SX126x` python module depending LoRa module you use. Then create an object from module you just import.
50+
To work with the library, first you must import `SX126x` python module. Then initialize the module by creating an object.
5151

5252
```python
5353
from LoRaRF import SX126x
@@ -102,7 +102,7 @@ LoRa.begin()
102102

103103
## Modem Configuration
104104

105-
Before transmit or receive operation you can configure transmit power and receive gain or matching frequency, modulation parameter, packet parameter, and synchronize word with other LoRa device you want connect.
105+
Before transmit or receive operation you can configure transmit power and receive gain or matching frequency, modulation parameter, packet parameter, and synchronize word with other LoRa device you want communicate.
106106

107107
### Transmit Power
108108

@@ -165,7 +165,7 @@ LoRa.wait()
165165
counter += 1
166166
```
167167

168-
For more detail about transmit operation, please visit this [link](https://github.com/chandrawi/LoRaRF-Python/wiki).
168+
For more detail about transmit operation, please visit this [link](https://github.com/chandrawi/LoRaRF-Python/wiki/Transmit-Operation).
169169

170170
## Receive Operation
171171

@@ -182,12 +182,16 @@ while LoRa.available() > 1 :
182182
counter = LoRa.read() # read single byte
183183
```
184184

185-
For more detail about receive operation, please visit this [link](https://github.com/chandrawi/LoRaRF-Python/wiki).
185+
For more detail about receive operation, please visit this [link](https://github.com/chandrawi/LoRaRF-Python/wiki/Receive-Operation).
186186

187187
## Examples
188188

189-
See examples for [SX126x](https://github.com/chandrawi/LoRaRF-Python/tree/main/examples/SX126x), [SX127x](https://github.com/chandrawi/LoRaRF-Python/tree/main/examples/SX127x), and [simple network implementation](https://github.com/chandrawi/LoRaRF-Python/tree/main/examples/network).
189+
See examples for [SX126x](https://github.com/chandrawi/LoRaRF-Python/tree/main/examples/SX126x) and [simple network implementation](https://github.com/chandrawi/LoRaRF-Python/tree/main/examples/network).
190190

191-
## Licence
191+
## License
192192

193-
This library published under [MIT licence](https://github.com/chandrawi/LoRaRF-Python/blob/main/LICENSE).
193+
This library published under [MIT license](https://github.com/chandrawi/LoRaRF-Python/blob/main/LICENSE).
194+
195+
## Contributor
196+
197+
[Chandra Wijaya Sentosa](https://github.com/chandrawi) <<[email protected]>>

dist/LoRaRF-1.3.0-py3-none-any.whl

15.5 KB
Binary file not shown.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = LoRaRF
3-
version = 1.2.0
3+
version = 1.3.0
44
author = Chandra Wijaya Sentosa
55
author_email = [email protected]
66
description = Python library used for basic transmitting and receiving data using LoRa modem

0 commit comments

Comments
 (0)