JSPM

  • Created
  • Published
  • Downloads 69
  • Score
    100M100P100Q65619F
  • License MIT

This package can control Arduino with TypeScript!

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

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