zetta-orientation-i2c-driver

Zetta orientation driver for i2c bus

Usage no npm install needed!

<script type="module">
  import zettaOrientationI2cDriver from 'https://cdn.skypack.dev/zetta-orientation-i2c-driver';
</script>

README

Zetta orientation driver for i2c bus

Install

gt; git clone https://github.com/zetta-telemetry/zetta-orientation-i2c-driver.git

Usage

var zetta = require('zetta');
var Orientation = require('zetta-orientation-i2c-driver');

zetta()
  .use(Orientation)
  .listen(1337)

Hardware

  • any platform

Transitions

do(message)

Calls the device's log() function passing the message param.

Design

This device driver is designed to be the starter code for other device drivers.