Library and example

This commit is contained in:
Mark Qvist
2018-06-22 11:17:14 +02:00
parent 255d978bd7
commit 0dd6ce6539
4 changed files with 58 additions and 15 deletions

View File

@@ -62,7 +62,7 @@ Have a look in the "Libraries" folder for includes to let you easily use RNode i
Here's a Python example:
```python
import RNodeInterface
from RNode import RNodeInterface
def gotPacket(data, rnode):
print "Received a packet: "+data
@@ -76,7 +76,7 @@ rnode = RNodeInterface(
txpower = 2,
sf = 7,
cr = 5,
loglevel = RnodeInterface.LOG_DEBUG)
loglevel = RNodeInterface.LOG_DEBUG)
rnode.send("Hello World!")
```