mirror of
https://gitlab.silvrtree.co.uk/martind2000/bluetest.git
synced 2025-02-04 09:10:15 +00:00
process luxometer
This commit is contained in:
parent
4edeb690ad
commit
eeff170999
@ -39,7 +39,7 @@ bluetest = module.exports = function(options) {
|
||||
//logger.warn('ascii:', _data);
|
||||
|
||||
logger.debug('>--',_data);
|
||||
/* var wH = _data.slice(-5).split(' ');
|
||||
var wH = _data.slice(-5).split(' ');
|
||||
var wB = [];
|
||||
wB[0] = parseInt(wH[0], 16);
|
||||
wB[1] = parseInt(wH[1], 16);
|
||||
@ -59,7 +59,6 @@ logger.debug('>--',_data);
|
||||
lux = m * (0.01 * Math.pow(2.0, e));
|
||||
|
||||
logger.info('Lux: ', lux);
|
||||
*/
|
||||
console.log('- processLuxData');
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user