아트인

#1-4 2CH Relay + Ethernet

ZEROWIN.TECH 2022. 3. 22. 22:58
728x90

원격 릴레이 제어

   

배치파일 작성

 
python sr-201-relay.py 192.168.1.100 config
python sr-201-relay.py 192.168.1.100 gateway=192.168.96.1
python sr-201-relay.py 192.168.1.100 ip=192.168.96.%1
python sr-201-relay.py 192.168.1.100 reset

보드 아이피 설정

 

제어 테스트