-
Notifications
You must be signed in to change notification settings - Fork 0
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
Question #1
Comments
Hi, I'm not really familiar with the Raspberry, I mostly used this on an Intel Galileo board. The library is just wrapper around reading/writing in /sys, so hopefully you can find some answers by digging into that directory. |
1st arg is chip id, 2d is pwm id... For the record on edison, I had to enable GPIO before using PWM: chip=0
id=0
gpio=12
echo $gpio | sudo tee /sys/class/gpio/export
echo out | sudo tee /sys/class/gpio/gpio$gpio/direction
echo 0 | sudo tee /sys/class/gpio/gpio$gpio/value
sudo cat /sys/kernel/debug/gpio_debug/gpio$gpio/current_pinmux # mode0
echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux Last item, it would be nice to align to iotjs API: Relate-to: EnotionZ/gpio#60 |
Sorry, I haven't used this in a few years and I'm unlikely to fix anything. |
Yes, I noticed there isnt lot of activity going on It look like there are still users: If orphaned it can be transferred to: Relate-to: abandonware/abandonware.github.io#5 |
There is a way to control the servo throw the Raspberry GPIO, without a servo controller board?.
I mean, when you call:
pwm.export(0, 24,....), the "0" represents the "local" board?.
I'm learning about pwm on Raspberry, sorry for this question.
Nice library btw, thanks.
The text was updated successfully, but these errors were encountered: