Commit 89a1c16c authored by Ryan Day's avatar Ryan Day

adding notes

parent 99c85f7d
parsers export should be a function that accepts an open serialport as the first argument. and option options as the second.
the parser object should be an event emitter
if should expose a public send method that takes data,and callback arguments.
an optional middle options arguments may be necessary
all other protocol command implementation should be done in another file.
var c = require('./lib/constants');
var c = require('./constants-v2');
var EventEmitter = require("events").EventEmitter;
module.exports = function(serialport){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment