Import/Timer sleep
This commit is contained in:
@ -201,4 +201,10 @@ public class IOPorts {
|
||||
int value = (toggles.get(0).isSelected()) ? 1 : 0;
|
||||
return new int[]{fileAddress, bit, value};
|
||||
}
|
||||
|
||||
public static void reset() {
|
||||
trisLatch = new int[]{0xFF, 0xFF};
|
||||
dataLatch = new int[2];
|
||||
refreshPorts();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user