JavaFX on Raspberry Pi: Some fun with stepper motor

Recently had some fun when controlling my stepper motor with my Raspberry Pi. The motor: a 28BYJ-48 with ULN2003 driver unit: Cool: Pi4J has a ready to use GpioStepperMotorComponent. Let’s assume this architecture: Thus we start with the StepperMotorAdapter using this component. First some helpfull defines: private final int oneRevolution = 2038; private final intContinue reading