Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

n4y0n/node-xbee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial communication module

Installation

//TODO

Usage

Javascript

var XBee = require('module-xbee').XBee;
var xbee = new XBee("PORT")
xbee.send("", "some data")

xbee.on("data", function(data) {
  console.log(data)
})

TypeScript

import { XBee } from 'module-xbee';
let xbee: XBee = new XBee("PORT")
xbee.send("", "some data")

xbee.on("data", (data) => {
  console.log(data)
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published