View build.js
const { spawn } = require('child_process');
const path = require('path');
let args = process.argv.slice(2);
let project = args[0];
let projectPath = path.resolve(args[1]);
let cwd = process.cwd();
if (!project || project == '--help' || project == '/?' || project == '-h') {
process.stdout.write('Usage example:\n node build.js MyProjectName X:/Path/To/MyProjectName/MyProjectName.uproject');
View climate.tessel.js
var Promise = require('es6-promise').Promise;
var tessel = require('tessel');
var wifi = require('wifi-cc3000');
var climatelib = require('climate-si7020');
var climate = climatelib.use(tessel.port['D']);
var http = require('http');
var led = tessel.led[0].output(0);
var led2 = tessel.led[1].output(0);
function checkClimate() {