Loading py393/imgsrv.py +3 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,8 @@ import shutil import sys import subprocess path="/tmp/img.jpeg" path="/www/pages/img.jpeg" #path="/tmp/img.jpeg" PORT=8888 def communicate(port,snd_str): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) Loading Loading @@ -67,7 +68,7 @@ acquisition_parameters={ "black": None, "colorsat_blue":None, "colorsat_red": None, "server_root": "/tmp/", "server_root": "/www/pages/", "gain_r": None, "gain_gr": None, "gain_gb": None, Loading py393/x393_utils.py +2 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,8 @@ from time import sleep import vrlg # global parameters import x393_axi_control_status import shutil #DEFAULT_BITFILE="/usr/local/verilog/x393.bit" DEFAULT_BITFILE="/tmp/x393.bit" DEFAULT_BITFILE="/usr/local/verilog/x393.bit" #DEFAULT_BITFILE="/tmp/x393.bit" FPGA_RST_CTRL = 0xf8000240 FPGA0_THR_CTRL = 0xf8000178 FPGA_LVL_SHFTR = 0xf8000900 # 0xf: all enabled, 0x0 - disable all Loading Loading
py393/imgsrv.py +3 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,8 @@ import shutil import sys import subprocess path="/tmp/img.jpeg" path="/www/pages/img.jpeg" #path="/tmp/img.jpeg" PORT=8888 def communicate(port,snd_str): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) Loading Loading @@ -67,7 +68,7 @@ acquisition_parameters={ "black": None, "colorsat_blue":None, "colorsat_red": None, "server_root": "/tmp/", "server_root": "/www/pages/", "gain_r": None, "gain_gr": None, "gain_gb": None, Loading
py393/x393_utils.py +2 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,8 @@ from time import sleep import vrlg # global parameters import x393_axi_control_status import shutil #DEFAULT_BITFILE="/usr/local/verilog/x393.bit" DEFAULT_BITFILE="/tmp/x393.bit" DEFAULT_BITFILE="/usr/local/verilog/x393.bit" #DEFAULT_BITFILE="/tmp/x393.bit" FPGA_RST_CTRL = 0xf8000240 FPGA0_THR_CTRL = 0xf8000178 FPGA_LVL_SHFTR = 0xf8000900 # 0xf: all enabled, 0x0 - disable all Loading