Skip to content

control motor with raspberry pi and pi4j 2.0 #227

Answered by FDelporte
rezza72 asked this question in Q&A
Discussion options

You must be logged in to vote

Within the CrowPi example project, several examples are available for different types of motors, all using V2 of Pi4J.

More info about the project on:

https://pi4j.com/getting-started/crowpi/

Code is available on:

https://github.com/Pi4J/pi4j-example-crowpi/blob/main/src/main/java/com/pi4j/crowpi/components/ServoMotorComponent.java
https://github.com/Pi4J/pi4j-example-crowpi/blob/main/src/main/java/com/pi4j/crowpi/components/StepMotorComponent.java
https://github.com/Pi4J/pi4j-example-crowpi/blob/main/src/main/java/com/pi4j/crowpi/components/VibrationMotorComponent.java

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@java-boy
Comment options

Answer selected by rezza72
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants