Skip to main content
You can use the PinService facade anywhere in your Laravel code to get a reference to a pin using the pin() method. Pass the pin number as the argument. From there, you can use the turnOn() and turnOff() methods to manage the power state of output pins.