Skip to content

Commit 550ad47

Browse files
committed
added on and off script
1 parent b10a53d commit 550ad47

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
File renamed without changes.

app/on.php

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
require '../vendor/autoload.php';
4+
5+
$arduino = new \Arduino\Wrapper();
6+
7+
$writer = new \Arduino\Writer($arduino);
8+
$writer->out('/dev/cu.usbmodem1411', 'ON');

0 commit comments

Comments
 (0)