Реализация сохранения/загрузки файлов
This commit is contained in:
5
.idea/PRD-TU-MP550.iml
generated
5
.idea/PRD-TU-MP550.iml
generated
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module type="PYTHON_MODULE" version="4">
|
<module type="PYTHON_MODULE" version="4">
|
||||||
<component name="NewModuleRootManager">
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$" />
|
<content url="file://$MODULE_DIR$" />
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
@@ -9,11 +9,11 @@ func _on_read_ems_g():
|
|||||||
Constants.EMS_G_PORT_DATA_HOLDER.clear()
|
Constants.EMS_G_PORT_DATA_HOLDER.clear()
|
||||||
for i_input in 16:
|
for i_input in 16:
|
||||||
Network.write_port_isa(Constants.BASE_PORTS.EMS_G+2, 1+i_input)
|
Network.write_port_isa(Constants.BASE_PORTS.EMS_G+2, 1+i_input)
|
||||||
Network.read_port_isa([Constants.BASE_PORTS.EMS_G+0xA])
|
Network.read_port_isa([Constants.BASE_PORTS.EMS_G+2, Constants.BASE_PORTS.EMS_G+4, Constants.BASE_PORTS.EMS_G+6, Constants.BASE_PORTS.EMS_G+8,Constants.BASE_PORTS.EMS_G+0xA])
|
||||||
|
|
||||||
for i_output in range(46, 62):
|
for i_output in range(46, 62):
|
||||||
Network.write_port_isa(Constants.BASE_PORTS.EMS_G+2, 1+i_output)
|
Network.write_port_isa(Constants.BASE_PORTS.EMS_G+2, 1+i_output)
|
||||||
Network.read_port_isa([Constants.BASE_PORTS.EMS_G+4, Constants.BASE_PORTS.EMS_G+8])
|
Network.read_port_isa([Constants.BASE_PORTS.EMS_G+2, Constants.BASE_PORTS.EMS_G+4, Constants.BASE_PORTS.EMS_G+6, Constants.BASE_PORTS.EMS_G+8,Constants.BASE_PORTS.EMS_G+0xA])
|
||||||
|
|
||||||
|
|
||||||
func _on_sync():
|
func _on_sync():
|
||||||
|
|||||||
Reference in New Issue
Block a user