edison
TypeScript icon, indicating that this package has built-in type declarations

0.1.36 • Public • Published

Something nice img

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 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

Package Sidebar

Install

npm i edison

Weekly Downloads

15

Version

0.1.36

License

MIT

Unpacked Size

276 kB

Total Files

366

Last publish

Collaborators

  • aluta