We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for the cool EMBD framework. It's really great.
I see in the docs for the PI B+ that the GPIO18 should work as PWM pin. However it's not supported in the host (host/rpi/rpi.go).
I get this if I try:
Error in NewPWMPin (18)! panic: gpio: pwm not supported on this host
Code:
pinNo := 18 pwm, err := embd.NewPWMPin(pinNo) if err != nil { fmt.Println("Error in NewPWMPin (18)!") panic(err) } defer pwm.Close() // 500 Hz == 2.000.000 ns pwm.SetDuty(2000000)
The text was updated successfully, but these errors were encountered:
@akofoed did you resolve this, or are the doc's incorrect on supporting PWM for the Pi?
Sorry, something went wrong.
Hi chaosaffe No, I wrote it in C, so problem solved.
No branches or pull requests
Thanks for the cool EMBD framework. It's really great.
I see in the docs for the PI B+ that the GPIO18 should work as PWM pin. However it's not supported in the host (host/rpi/rpi.go).
I get this if I try:
Code:
The text was updated successfully, but these errors were encountered: