@echo off
rem ZC1051 LED BAR demo
rem ------------------------
rem turn off all LED at RESET
echo 00000000 > f:\port0.txt
echo 00000000 > f:\port1.txt
echo 00000000 > f:\port2.txt
echo 00000000 > f:\port3.txt
:loop
echo 00000001 > f:\port0.txt
echo 00000010 > f:\port0.txt
echo 00000100 > f:\port0.txt
echo 00001000 > f:\port0.txt
echo 00010000 > f:\port0.txt
echo 00100000 > f:\port0.txt
echo 01000000 > f:\port0.txt
echo 10000000 > f:\port0.txt
echo 00000000 > f:\port0.txt
echo 10000000 > f:\port2.txt
echo 01000000 > f:\port2.txt
echo 00100000 > f:\port2.txt
echo 00010000 > f:\port2.txt
echo 00001000 > f:\port2.txt
echo 00000100 > f:\port2.txt
echo 00000010 > f:\port2.txt
echo 00000001 > f:\port2.txt
echo 00000000 > f:\port2.txt
echo 10000000 > f:\port3.txt
echo 01000000 > f:\port3.txt
echo 00100000 > f:\port3.txt
echo 00010000 > f:\port3.txt
echo 00001000 > f:\port3.txt
echo 00000100 > f:\port3.txt
echo 00000010 > f:\port3.txt
echo 00000001 > f:\port3.txt
echo 00000000 > f:\port3.txt
echo 10000000 > f:\port1.txt
echo 01000000 > f:\port1.txt
echo 00100000 > f:\port1.txt
echo 00010000 > f:\port1.txt
echo 00001000 > f:\port1.txt
echo 00000100 > f:\port1.txt
echo 00000010 > f:\port1.txt
echo 00000001 > f:\port1.txt
echo 00000000 > f:\port1.txt
goto loop