-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spi.open FileNotFoundError #10
Comments
If you sure you have enabled SPI, I guess the error happen because you enable SPI bus 0 and you did not change the SPI bus id in the example from 1 to 0. Also make sure you connect CS pin correctly. |
This error happen because the SPI port is not enabled yet for selected SPI
bus. If you used SPI port 1, add this line in /boot/config.tx
1. dtoverlay=spi1-3cs
…On Sat, Feb 18, 2023, 8:24 PM mgh2010 ***@***.***> wrote:
hi, I installed latest version of LoRaRF with pip on raspberry pi Zero 2
w, and did enabled the SPI.
but keep getting this error. what is Wrong.
[image: image]
<https://user-images.githubusercontent.com/55698586/219868173-6cf8d94f-2f84-4576-8f5c-75367b7bcef1.png>
—
Reply to this email directly, view it on GitHub
<#10>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR5MCKTXJY4BD5DHZPLN63DWYDEPNANCNFSM6AAAAAAVALC6XI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
hi, I installed latest version of LoRaRF with pip on raspberry pi Zero 2 w and i have Lora Ai-Thinker Ra-02 with SX1278.
I did enabled the SPI as well. but keep getting this error. what is Wrong?
and using this example code:
https://github.com/chandrawi/LoRaRF-Python/blob/main/examples/SX127x/transmitter.py
The text was updated successfully, but these errors were encountered: