summaryrefslogtreecommitdiffstats
path: root/toprammer
diff options
context:
space:
mode:
Diffstat (limited to 'toprammer')
-rwxr-xr-xtoprammer4
1 files changed, 4 insertions, 0 deletions
diff --git a/toprammer b/toprammer
index 6abc912..518d303 100755
--- a/toprammer
+++ b/toprammer
@@ -243,6 +243,10 @@ class TOP:
"""Read a byte from the FPGA data line into the status register."""
self.send("\x01")
+ def cmdFPGAWriteByte(self, byte):
+ """Write a byte to the FPGA data line."""
+ self.send("\x10" + chr(byte))
+
def cmdSetGNDPin(self, zifPin):
"""Assign GND to a ZIF socket pin. 0=none"""
valid = (0, 5, 14, 15, 16, 17, 18, 19, 20, 24, 26, 27,
bues.ch cgit interface