mirror of
https://github.com/anatolykopyl/term-paper-tes.git
synced 2026-03-26 12:54:38 +00:00
Доделал источник сообщения
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
input_code = {1, 0, 1, 1, 1, 1, 0, 0, 1}
|
||||
input_code = {1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0}
|
||||
|
||||
-- Logical sum
|
||||
function m2s(a, b)
|
||||
@@ -28,6 +28,10 @@ function coder(input_code)
|
||||
return result, states
|
||||
end
|
||||
|
||||
function decoder(input_code)
|
||||
|
||||
end
|
||||
|
||||
result, states = coder(input_code)
|
||||
|
||||
for _, v in ipairs(states) do print(v..' ') end
|
||||
|
||||
Reference in New Issue
Block a user