Skip to content

Commit

Permalink
Explain where to get it and put it
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpinit authored Aug 6, 2023
1 parent f231f2f commit 2eb44bb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ pen plotter via the

## Usage

Upload [the latest release](https://github.com/jmpinit/p5.axidraw/releases/latest) as a
file in your sketch and then reference it from **index.html** like so:

```html
<head>
...
<script src="p5.axidraw.js"></script>
...
</head>
```

An example sketch that connects to the AxiDraw when the mouse is clicked and draws a
diagonal line:

```js
const axi = new axidraw.AxiDraw();
let connected = false;
Expand Down

0 comments on commit 2eb44bb

Please sign in to comment.