-2

I want to control a motor and a servo motor using a Raspberry Pi. As I searched, all projects are for pi4j v1.0. I'll be grateful if you guide me. Thanks in advance.

5
  • There must be hundreds of tutorials not using pi4j. You need to try searching again.
    – joan
    Jun 18 at 15:38
  • I did a very quick google search. "pi4j tutorial" gives many results. Likewise, "pi4j motor control" returns several results.
    – NomadMaker
    Jun 18 at 16:33
  • There are tutorials for controlling a motor with Pi4j 1.0, but I could not find any tutorial for controlling a motor using Pi4j 2.0 ! @NomadMaker
    – Mehdi
    Jun 19 at 3:04
  • is V2.0 that much different from V1.0? ... what kind of a motor are you trying to control? ... how is the motor connected to the RPi?
    – jsotola
    Jun 20 at 5:58
  • @jsotola I have nothing to do with their difference. I just want to use pi4j v2 to control a servo motor and a normal dc motor. Jun 20 at 12:40

1 Answer 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.