local nCount = 10
local nPeriod = 0.5
for n=1,nCount do
redstone.setOutput( sSide, true )
sleep( nPeriod / 2 )
redstone.setOutput( sSide, false )
end