Search found 2 matches

by dawgshalmer
Fri Jan 14, 2022 7:49 am
Forum: ESP8266 boards
Topic: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi
Replies: 16
Views: 46112

Re: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi

Hello, I had the same problem with esp32 Heltec board, running micropython 1.17. Fixed it by calling machine.SoftSPI instead of machine.SPI in the first argument of the SX127x class constructor(SPI is deprectated) device_spi = machine.SoftSPI(baudrate = 10000000, polarity = 0, phase = 0, bits = 8, ...
by dawgshalmer
Wed Jan 12, 2022 3:57 am
Forum: ESP8266 boards
Topic: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi
Replies: 16
Views: 46112

Re: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi

Hello, I had the same problem with esp32 Heltec board, running micropython 1.17. Fixed it by calling machine.SoftSPI instead of machine.SPI in the first argument of the SX127x class constructor(SPI is deprectated) device_spi = machine.SoftSPI(baudrate = 10000000, polarity = 0, phase = 0, bits = 8, ...