}
public void test(double millis) {
LOGGER.log(Level.INFO, "test()");
reset();
testTimeline = new Timeline(new KeyFrame(Duration.millis(millis), (ActionEvent event) -> {
gpio0StateProperty.setValue(Boolean.TRUE);
}), new KeyFrame(Duration.millis(millis * 2), (ActionEvent event) -> {
gpio1StateProperty.setValue(Boolean.TRUE);
}), new KeyFrame(Duration.millis(millis * 3), (ActionEvent event) -> {
gpio2StateProperty.setValue(Boolean.TRUE);
}), new KeyFrame(Duration.millis(millis * 4), (ActionEvent event) -> {
gpio3StateProperty.setValue(Boolean.TRUE);
}), new KeyFrame(Duration.millis(millis * 5), (ActionEvent event) -> {
gpio4StateProperty.setValue(Boolean.TRUE);
}), new KeyFrame(Duration.millis(millis * 6), (ActionEvent event) -> {
gpio5StateProperty.setValue(Boolean.TRUE);
}), new KeyFrame(Duration.millis(millis * 7), (ActionEvent event) -> {
gpio6StateProperty.setValue(Boolean.TRUE);
}), new KeyFrame(Duration.millis(millis * 8), (ActionEvent event) -> {
gpio7StateProperty.setValue(Boolean.TRUE);
}));
testTimeline.play();
}