artik-io

GPIO library for Artik devices. It gives possibility to communicate with Gpio from Node.js enviroment.

Usage no npm install needed!

<script type="module">
  import artikIo from 'https://cdn.skypack.dev/artik-io';
</script>

README

travis build codecov coverage MIT License

Artik IO

GPIO library for Artik devices. It gives you possibility to communicate with Gpio from Node.js enviroment.

Installation

Build for developer purposes

npm i 
npm build

Production build

npm i
npm build:prod

it will output library files to dist directory, which meant to be included in npm package.

Structure

  • artik-gpio.js - main library, responsible for all IO communication
  • artik-io.js - gpio mapping based on artik documentation that can be found here

Usage and samples

To see usage samples, take look at artik-io-devices project.

How does it work

tbd