I have completed a Java package in support of the Adafruit HAT devices that support DC Motors, Stepper Motors, and Servos. These HATS are fairly popular among robotics enthusiasts because the PWM control is independent of a Raspberry Pi. Descriptions are found here:
I've tried to make these classes compatible with the pi4j architecture and I'd like to include them in a future pi4j distribution if you are agreeable.
I can submit these to a github repository but need to know how you'd like me to do that.
Cheers and Best Regards... Eric Eliason
Attached you will find the java files I'd like to contribute:
Example programs that show how to use the Adafruit HAT package:
====================================================
AdafruitDcMotorHatExample.java
AdafruitServoHatExample.java
AdafruitStepperMotorHatExample.java
Here's the package contents:
============================
AdafruitDcMotor.java
AdafruitHat.java
AdafruitMotorHat.java
AdafruitServo.java
AdafruitServoHat.java
AdafruitStepperMotor.java
StepperMode.java