:: This batch file makes URL lines for use with the echoo.com application
:: open this file in notepad (wordwrap turned off) and rename it servohex.bat
:: counts from 0 to FE (0 t0 254) with leading zeros
:: the middle $00 is the servo number, use $00 thru $07 as desired
:: change the 127.0.0.1/cgi/servo.bat to fit your IP and server path
:: double click the servohex.bat file and it will generate the desired files
@ECHO OFF
if "%1"=="##" GOTO %1
FOR %%a IN (0 1 2 3 4 5 6 7 8 9 A B C D E F) DO CALL %0 #%1 %2 %%a
GOTO EOF
:##
if %2%3==FF goto :EOF
ECHO ^*^ >> servo-hex.htm
ECHO ^*^ >> servo-hex.txt
:EOF