go-rpio icon indicating copy to clipboard operation
go-rpio copied to clipboard

:electric_plug: Raspberry Pi GPIO library for go-lang

Results 42 go-rpio issues
Sort by recently updated
recently updated
newest added

https://github.com/stianeikeland/go-rpio/blob/f6236e58667c16a237d2916b379b4337460b555b/rpio.go#L245 I try to use python with gpio in other pins (not only in above pins). Why limit pins in the code? Thanks.

Round down cdiv result make real CLK faster than caller expect. for example: 1. when call SpiSpeed(6000000) // caller want set CLK to 6MHz ``` cdiv = uint32(250000000 / 6000000)...

First of all, I really enjoy this library. However, there were some spelling mistakes in the comments which i corrected. Because I have not changed any real code, this `PR`...

When running go-rpio inside a docker container with only /dev/gpiomem mounted, the library fails (`docker run --device /dev/gpiomem`). Currently, it only checks whether there is a permission problem with /dev/mem....

I found a small issue with the library. For some reason when rpio is close and EdgeDetect is still enable it will hard lock the rpi. i tested it on...

I just wrote this function for my printer enclosure, which has 2 DHT22s installed. Works almost every time, sometimes it runs into a timeout, but that's likely due to long...

It's this package working with the newly released raspberry pi pico controllet?

Perhaps it's just me but whenever I try to use PWM the BCM pin 2 changes from ALT0 to ALT2 and suddenly it's no longer possible to use ADC chips...

Hi, when importing the package for v4 like `import "github.com/stianeikeland/go-rpio/v4"` I get this error: main.go:32:2: cannot find package "github.com/stianeikeland/go-rpio/v4" in any of: /usr/local/go/src/github.com/stianeikeland/go-rpio/v4 (from $GOROOT) go get github.com/stianeikeland/go-rpio/v4 cannot find...

I'm trying to convert some working Python code to run in go. The Python is as follows: ``` import RPi.GPIO as GPIO import time servoPIN = 13 GPIO.setmode(GPIO.BCM) GPIO.setup(servoPIN, GPIO.OUT)...