zetta-serial-device-driver

Zetta serial device driver for any platform

Usage no npm install needed!

<script type="module">
  import zettaSerialDeviceDriver from 'https://cdn.skypack.dev/zetta-serial-device-driver';
</script>

README

Zetta serial device driver for any platform

Install

gt; npm install zetta-serial-device-driver

Usage

var zetta = require('zetta');
var StarterDevice = require('zetta-serial-device-driver');

zetta()
  .use(StarterDevice)
  .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 serial code for other device drivers.