Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6006

Automation, sensing and robotics • Re: New to Pi and need help

$
0
0
Would this work for multiple "recievers" and one transmitter? Also do you think i could also run this on a 3?
ever heard of Network IP's? Every single computer in your LAN/WiFi network has a unique IP --> if you want an activity to happen on more than one simply use the command in a sequence
When run with:

$ PIGPIO_ADDR=192.168.1.3 python3 led.py
will flash the LED connected to pin 17 of the Raspberry Pi with the IP address 192.168.1.3.
And:

$ PIGPIO_ADDR=192.168.1.4 python3 led.py
will flash the LED connected to pin 17 of the Raspberry Pi with the IP address 192.168.1.4,
without any code changes, as long as the Raspberry Pi has the pigpio daemon running.

Statistics: Posted by aBUGSworstnightmare — Tue Nov 26, 2024 2:55 pm



Viewing all articles
Browse latest Browse all 6006

Latest Images

Trending Articles



Latest Images