Reset FSR

This commit is contained in:
2024-06-03 13:14:53 +02:00
parent 889f9a307b
commit 1d89bf16cc
5 changed files with 14 additions and 21 deletions

View File

@ -188,10 +188,9 @@ public class IOPorts {
allLEDsB = b;
}
private static void refreshTable(ToggleButtonGroup parent) {
Stage stage = (Stage) parent.getScene().getWindow();
public static void refreshTable(ToggleButtonGroup parent) {
Table.refresh();
CreateWindow.refreshTable(stage);
CreateWindow.refreshTable();
}
private static int[] getToggleParams(ToggleButtonGroup parent) {
@ -219,4 +218,8 @@ public class IOPorts {
dataLatch = new int[2];
refreshPorts();
}
public static void resetTRIS (){
trisLatch = new int[] {0xFF, 0xFF};
}
}