Make texts less redundant.
This commit is contained in:
@@ -35,7 +35,7 @@ function readLedJumper() {
|
||||
}
|
||||
console.log('Received', util.bufferToString(receivedBuffer));
|
||||
var isLedJumperOn = receivedBuffer[1] === 0;
|
||||
console.log('This means that the LED jumper is ' + (isLedJumperOn ? 'on' : 'off'))
|
||||
console.log('LED jumper is ' + (isLedJumperOn ? 'on' : 'off'))
|
||||
setTimeout(readLedJumper, 500)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user