Skip to content

edison-js/Edison

Repository files navigation

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