From f442d6f57f4fdf9ce7c54c0b0061a21d87fd4c63 Mon Sep 17 00:00:00 2001 From: N Date: Tue, 29 May 2018 03:09:55 +0800 Subject: [PATCH] for Python3 --- PSL/SENSORS/Sx1276.py | 4 ++-- README.md | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/PSL/SENSORS/Sx1276.py b/PSL/SENSORS/Sx1276.py index 022a3c76..3926125b 100644 --- a/PSL/SENSORS/Sx1276.py +++ b/PSL/SENSORS/Sx1276.py @@ -70,7 +70,7 @@ def __init__(self,SPI,frq,**kwargs): self.reset() self.version = self.SPIRead(self.REG_VERSION,1)[0] if self.version!=0x12: - print 'version error',self.version + print ('version error',self.version) self.sleep() self.setFrequency(self.frequency) @@ -326,6 +326,6 @@ def getRaw(self): elif mode==RX: packet_size = lora.parsePacket() if packet_size: - print 'data',lora.readAll() + print ('data',lora.readAll()) print ('Rssi',lora.packetRssi(),lora.packetSnr()) diff --git a/README.md b/README.md index 0b622ed9..3fb6b8cc 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,9 @@ To install PSLab on Debian based Gnu/Linux system, the following dependencies mu #### Dependencies -* PyQt 4.7+, PySide, or PyQt5 -* python 2.6, 2.7, or 3.x +* PyQt5 +* python 3.x * NumPy, Scipy -* pyqt4-dev-tools   **For pyuic4** * Pyqtgraph   **For Plotting library** * pyopengl and qt-opengl   **For 3D graphics** * iPython-qtconsole   **optional** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy