IoT LoRa Node pHAT Python Library
# rak811-python RAK811 Python Library for use with LoRa pHAT & MicroBIT Node
Currently the library is very early on in development. At the moment you will have to do the following:
Connect via SSH or open a terminal up.
Run sudo raspi-config Select option “5 Interfacing Options” Then select option “P6 Serial”
It will ask you if you want a login shell to be accessible over serial, select no. It will then ask you if you would like the serial port hardware to be enabled, select yes.
Press enter and then finish. It will ask if you would like to reboot and select yes.
It’ll reboot and then either re-connect or re-open a terminal.
Next download the python file to a directory you wish, currently it isn’t available via Pip but will be soon.The easiest way is to wget https://raw.githubusercontent.com/PiSupply/rak811-python/master/iotloranode.py
Finally you will need to install python serial which can be done with “sudo apt install python3-serial python3-rpi.gpio”
We’re still working on the documentation and all of the functions but you can see an example at https://github.com/PiSupply/rak811-python/blob/master/example.py to get started.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size iotloranode-0.0.3-py3-none-any.whl (5.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
Hashes for iotloranode-0.0.3-py3-none-any.whl