Skip to content

Commit ba94d5b

Browse files
committed
fix data sent to arduino board, a delay has been added
1 parent 7b9b055 commit ba94d5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Wrapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public function stream_read($count)
3333

3434
public function stream_write($data)
3535
{
36+
sleep(2);
3637
return fwrite($this->path, $data);
3738
}
3839

0 commit comments

Comments
 (0)