0.0.21 • Published 7 years ago
routoh-device-sun v0.0.21
routoh-device-sun
A fork / ES2015 rewrite of the time module on route.io.
// TODO Need to hook up state events and cover how to use them . . . .
const Route = require('routoh');
const Sun = require('routoh-device-sun');
const route = new Route();
route.addDevice(new Sun({
latitude: 0.000,
longitude: 0.000
}));