Package Exports
- edison
- edison/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (edison) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Edison
Edison can control microcontroller board with TypeScript or JavaScript!
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 edisonor
yarn add edisonGetting 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