Create a gist now

Instantly share code, notes, and snippets.

@johnc219 /config.js Secret
Created Jun 13, 2016

What would you like to do?
// get supplied command line args
var args = require('./args');
// the BellBot config
var config = {
proto: args.proto || 'http',
addr: Number(args.port) || 3000,
url: '',
startAt: Number(args.start) || 70,
strikeAt: Number(args.strike) || 95,
servoPin: Number(args.pin) || 8,
servoDelay: Number(args.sdelay) || 500,
processDelay: Number(args.pdelay) || 1000,
key: args.key || null
};
module.exports = config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment