Sets light to 2500 kelvin as a test

This commit is contained in:
mmcwilliams 2016-04-11 20:12:08 -04:00
parent cdf5f67714
commit 9990943aed
1 changed files with 3 additions and 6 deletions

View File

@ -163,12 +163,9 @@ mcopy.arduino.connect = function (callback) {
};
mcopy.arduino.colorTest = function () {
var color = '255,255,255';
var color = '255,140,70';
mcopy.arduino.send(mcopy.cfg.arduino.cmd.light, function () {
console.log('color set to ' + color);
console.log('Light set to ' + color);
});
//setTimeout(function () {
mcopy.arduino.string(color);
//}, mcopy.cfg.arduino.serialDelay);
mcopy.arduino.string(color);
};