2020年4月24日 星期五

檢查 Pi 系列單片機是否正常運作

將下列文字複製到 check-pi.bat

===================從下列起==================
@Echo off
del act.txt
del na.txt
echo 192.168.1.104 APRX >> act.txt
echo 192.168.1.105 Zero >> act.txt
echo 192.168.1.106 One >> act.txt
echo 192.168.1.107 Zero(白) >> act.txt
echo 192.168.1.108 mail >> act.txt
echo 192.168.1.104 APRX >> na.txt
echo 192.168.1.105 Zero >> na.txt
echo 192.168.1.106 One >> na.txt
echo 192.168.1.107 Zero(白) >> na.txt
echo 192.168.1.108 mail >> na.txt
echo ==========正常連線的設備========== >> act.txt
echo ==========斷線========== >> na.txt
@for /l %%i in (105,1,108) do @ping -n 2 -w 40 192.168.1.%%i& if errorlevel 1 (echo 192.168.1.%%i>>na.txt) else (echo 192.168.1.%%i>>act.txt)
cls
Echo 完成!!
@echo on
notepad act.txt & notepad na.txt

===================自上列起==================

BaoFeng DM-32

DM-32 Info CPS DMR Radio Setup v1.28 EN 確認能用 寫頻線使用內含晶片的 USB-SERIAL CH340  ------------------ Software Used: DM32 CPS Version : V.1.28 Device...