We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c54e12 commit f93fbabCopy full SHA for f93fbab
src/RevolutionPi.php
@@ -52,7 +52,7 @@ public function led(LedPosition $position): Led
52
return $this->module()->getLed($position);
53
}
54
55
- public function serialPort(string $devicePath): SerialPort
+ public function serialPort(string $devicePath = '/dev/ttyRS485-0'): SerialPort
56
{
57
return $this->module()->getSerialPort($devicePath);
58
0 commit comments