버그 수정

This commit is contained in:
RubyOn 2025-04-23 11:07:23 +09:00
parent cbf28071b0
commit 31663fb9df
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ require "rmodbus"
require "ccutrer-serialport"
controller_id = ARGV[0]&.to_i
value = ARGV[0]&.to_i
value = ARGV[1]&.to_i
ModBus::RTUClient.new("/dev/ttyUSB0", 9600) do |cl|
cl.with_slave(controller_id) do |slave|