-
Notifications
You must be signed in to change notification settings - Fork 223
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
Unable To Find Compatible WiringPi Pinouts With This Library #54
Comments
Small update that I forgot to post yesterday, the manufacturer of the board I'm using (dragino LoRa/GPS HAT), has this diagram http://wiki.dragino.com/images/9/9b/RPi_GPIO.jpg. So based off the pinouts that the C code is using, the translation to BCM numbers should be:
But unfortunately |
You are right, you have to use the I am sorry I think I am not able to help you. |
I noticed some differences between the main.c and your lora.go: https://github.com/RTradeLtd/rpi-lora-tranceiver/blob/master/src/lora.go#L65 - this should be input https://github.com/RTradeLtd/rpi-lora-tranceiver/blob/master/src/lora.go#L22 - this should be 17 not 7 Some ideas:
|
Hello, thanks for taking the time to look at the code in detail like that. I will try your suggestions and hopefully they work! |
I'm currently trying to write a golang equivalent of this Raspberry Pi LoRa hot module, which uses wiringPi pniouts.
I've tried the wiringPi pin out numbers in this golang library using
go-rpio
and I'm unable to get it to work properly, and it fails with aunrecognized traceiver
error.It should be noted that running the provided dragino examples works, so it can definitely work from this library, it's just a matter of figuring out the pin differences
System Info
Model: Raspberry Pi 3B+
The text was updated successfully, but these errors were encountered: