Edison can control microcontroller board with TypeScript or JavaScript!
Our documentation site is here!
please click on the official site and install it.
Please read this article.
Install Edison your project
npm install edison
or
yarn add edison
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 />)
We love collaborating with folks inside and outside of GitHub and welcome contributions!
👉 Discord