Skip to content

Commit

Permalink
Fix example namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
lepiaf committed Sep 12, 2018
1 parent e62a7be commit 1ffb660
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/arduino.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use lepiaf\SerialPort\SerialPort;
use lepiaf\SerialPort\Parser\SeparatorParser;
use lepiaf\SerialPort\TTYConfigure;
use lepiaf\SerialPort\Configure\TTYConfigure;

$serialPort = new SerialPort(new SeparatorParser(), new TTYConfigure());

Expand Down
2 changes: 1 addition & 1 deletion example/custom-configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use lepiaf\SerialPort\SerialPort;
use lepiaf\SerialPort\Parser\SeparatorParser;
use lepiaf\SerialPort\TTYConfigure;
use lepiaf\SerialPort\Configure\TTYConfigure;

$configure = new TTYConfigure();
//change baud rate
Expand Down
2 changes: 1 addition & 1 deletion example/custom-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use lepiaf\SerialPort\SerialPort;
use lepiaf\SerialPort\Parser\SeparatorParser;
use lepiaf\SerialPort\TTYConfigure;
use lepiaf\SerialPort\Configure\TTYConfigure;

$serialPort = new SerialPort(new SeparatorParser(';'), new TTYConfigure());

Expand Down

0 comments on commit 1ffb660

Please sign in to comment.