edison
v0.1.38
Published
This package can control Arduino with TypeScript!
Downloads
114
Readme
Documentation
Our documentation site is here!
If you have not yet installed the Arduino IDE ?
please click on the official site and install it.
How to use in WSL
Please read this article.
Installation
Install Edison your project
npm install edison
or
yarn add edison
Getting Started
import { Board, Button, Led, render } from "edison"
import React from "react"
const App: React.FC = () => {
return (
<Board port={'/dev/ttyUSB0'}> // Please replace with your port
<Led
pin={13}
blink={500}
/>
</Board>
)
}
render(<App />)
Contributing
We love collaborating with folks inside and outside of GitHub and welcome contributions!
👉 Discord