This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
traincontrol [2021/10/15 00:38] dpisuperadmin [Hardware and Wiring] |
traincontrol [2021/10/15 02:45] dpisuperadmin [Software] |
||
---|---|---|---|
Line 267: | Line 267: | ||
switch_left = " | switch_left = " | ||
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
- | time.sleep(0.10) | + | time.sleep(0.05) |
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
elif (int(switches[0], | elif (int(switches[0], | ||
switch_left = " | switch_left = " | ||
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
- | time.sleep(0.10) | + | time.sleep(0.05) |
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
if (int(switches[0], | if (int(switches[0], | ||
switch_right = " | switch_right = " | ||
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
- | time.sleep(0.10) | + | time.sleep(0.05) |
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
elif (int(switches[0], | elif (int(switches[0], | ||
switch_right = " | switch_right = " | ||
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
- | time.sleep(0.10) | + | time.sleep(0.05) |
response = send_cmd(sock_cmd, | response = send_cmd(sock_cmd, | ||
# | # |