Pinout in binary (#36)
Co-authored-by: Darkress <30271678+DarkressX@users.noreply.github.com> Reviewed-on: darkress/pic16f84-sim#36
This commit was merged in pull request #36.
This commit is contained in:
@@ -143,6 +143,13 @@ public class Memory
|
||||
return memory[0x81];
|
||||
}
|
||||
|
||||
public static int getPortB() {
|
||||
return memory[0x06];
|
||||
}
|
||||
|
||||
public static int getPortA() {
|
||||
return memory[0x05] & 0x1F;
|
||||
}
|
||||
public static int getTimer()
|
||||
{
|
||||
return memory[0x01];
|
||||
|
||||
Reference in New Issue
Block a user