指定した時間(マイクロ秒)だけ処理を停止します。
io = Plato::DigitalIO.new(0) a = 1 10.times { io.write(a) a ^= 1 Plato::Machine.delay_us(10000) # 10000マイクロ秒停止します }