-
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
Wish: support GPIO mux #2
Comments
rzr
added a commit
to TizenTeam/webthing-node
that referenced
this issue
Jun 27, 2019
It was tested on Intel Edison PWM0 (50 Hz on buzzer) Note that GPIO12 must be manually configured first, using: ```sh gpio=12 echo $gpio | sudo tee -a /sys/class/gpio/export echo out | sudo tee /sys/class/gpio/gpio$gpio/direction echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux ``` More/Better gpio drivers maybe added later, for the record 'pwm' one was prefered here as base for webthing-iotjs (API to be aligned with IoT.js), but pwm module is lacking muxing support. It can be used to control servo motors, for more check: https://social.samsunginter.net/@rzr/102343690505588635# Relate-to: djdeath/pwm#2 Change-Id: Ia54efc1d3ef232a831e46f324b9f582a772fceec Signed-off-by: Philippe Coval <[email protected]>
mrstegeman
pushed a commit
to WebThingsIO/webthing-node
that referenced
this issue
Jun 27, 2019
It was tested on Intel Edison PWM0 (50 Hz on buzzer) Note that GPIO12 must be manually configured first, using: ```sh gpio=12 echo $gpio | sudo tee -a /sys/class/gpio/export echo out | sudo tee /sys/class/gpio/gpio$gpio/direction echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux ``` More/Better gpio drivers maybe added later, for the record 'pwm' one was prefered here as base for webthing-iotjs (API to be aligned with IoT.js), but pwm module is lacking muxing support. It can be used to control servo motors, for more check: https://social.samsunginter.net/@rzr/102343690505588635# Relate-to: djdeath/pwm#2 Change-Id: Ia54efc1d3ef232a831e46f324b9f582a772fceec Signed-off-by: Philippe Coval <[email protected]>
rzr
added a commit
to rzr/webthing-iotjs
that referenced
this issue
Jun 28, 2019
It was tested on Intel Edison PWM0 (50 Hz on buzzer) Note that GPIO12 must be manually configured first, using: ```sh gpio=12 echo $gpio | sudo tee -a /sys/class/gpio/export echo out | sudo tee /sys/class/gpio/gpio$gpio/direction echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux ``` More/Better gpio drivers maybe added later, for the record 'pwm' one was prefered here as base for webthing-iotjs (API to be aligned with IoT.js), but pwm module is lacking muxing support. It can be used to control servo motors, for more check: https://social.samsunginter.net/@rzr/102343690505588635# Relate-to: djdeath/pwm#2 Change-Id: Ia54efc1d3ef232a831e46f324b9f582a772fceec Signed-off-by: Philippe Coval <[email protected]>
rzr
added a commit
to TizenTeam/webthing-node
that referenced
this issue
Jul 5, 2019
It was tested on Intel Edison PWM0 (50 Hz on buzzer) Note that GPIO12 must be manually configured first, using: ```sh gpio=12 echo $gpio | sudo tee -a /sys/class/gpio/export echo out | sudo tee /sys/class/gpio/gpio$gpio/direction echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux ``` More/Better gpio drivers maybe added later, for the record 'pwm' one was prefered here as base for webthing-iotjs (API to be aligned with IoT.js), but pwm module is lacking muxing support. It can be used to control servo motors, for more check: https://social.samsunginter.net/@rzr/102343690505588635# Relate-to: djdeath/pwm#2 Change-Id: Ia54efc1d3ef232a831e46f324b9f582a772fceec Signed-off-by: Philippe Coval <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As mentionned in
#1
GPIO muxing is lacking, It was needed for edison
If this project is no more maintained:
may this be done in related project that would merge pwm support through sysfs ?
Relate-to: EnotionZ/gpio#60
The text was updated successfully, but these errors were encountered: