Inexpensive scrolling marquee in Third-party Apps and Plugins 80 1 Posted June 2, 2021 I forgot to include the original .bat file I started with in windows, pasted below for reference. It worked better with the nano for some reason. @echo off set g=%2 set p=%3 set o="%g:"=%-%p%" set l=%1 ::echo %o% ::echo %p% ::echo %g% ::echo %1 ::pause IF %l%==1 (GOTO bigbox) IF %l%==2 (GOTO close) IF %l%==3 (GOTO end) IF %l%==4 (GOTO end) IF %l%==5 (GOTO end) IF %l%==6 (GOTO end) IF %l%==9 (GOTO serial) IF %l%==7 (GOTO end) IF %l%==8 (GOTO system) echo failed go echo %l% echo %2% echo %3% pause GOTO end :system set o="Bigbox Platforms" ::echo %o% ::echo %p% ::echo %g% ::echo %1 ::pause GOTO Serial :bigbox mode com3 to=off rts=off dtr=off data=8 baud=115200 > nul set o="BigBox Platforms" > nul ping localhost -n 3 >nul ::echo %o% ::pause GOTO Serial :close mode com3 to=off rts=off dtr=off data=8 baud=115200 > nul set o="Goodbye..." > nul ping localhost -n 3 >nul ::echo %o% ::pause GOTO Serial :serial set /p x=%o% <nul >\\.\COM3 ::pause :end exit
Inexpensive scrolling marquee
in Third-party Apps and Plugins
Posted
I forgot to include the original .bat file I started with in windows, pasted below for reference. It worked better with the nano for some reason.
@echo off
set g=%2
set p=%3
set o="%g:"=%-%p%"
set l=%1
::echo %o%
::echo %p%
::echo %g%
::echo %1
::pause
IF %l%==1 (GOTO bigbox)
IF %l%==2 (GOTO close)
IF %l%==3 (GOTO end)
IF %l%==4 (GOTO end)
IF %l%==5 (GOTO end)
IF %l%==6 (GOTO end)
IF %l%==9 (GOTO serial)
IF %l%==7 (GOTO end)
IF %l%==8 (GOTO system)
echo failed go
echo %l%
echo %2%
echo %3%
pause
GOTO end
:system
set o="Bigbox Platforms"
::echo %o%
::echo %p%
::echo %g%
::echo %1
::pause
GOTO Serial
:bigbox
mode com3 to=off rts=off dtr=off data=8 baud=115200 > nul
set o="BigBox Platforms" > nul
ping localhost -n 3 >nul
::echo %o%
::pause
GOTO Serial
:close
mode com3 to=off rts=off dtr=off data=8 baud=115200 > nul
set o="Goodbye..." > nul
ping localhost -n 3 >nul
::echo %o%
::pause
GOTO Serial
:serial
set /p x=%o% <nul >\\.\COM3
::pause
:end
exit