Timeout time back to normal, as it was like this for debugging
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
//first half of © character
|
||||
process.stdout.write(Buffer.from([0xC2]), () => {
|
||||
process.stdout.write(Buffer.from([0xC2]), (err) => {
|
||||
//write in the callback so that the second byte is sent separately
|
||||
setTimeout(() => {
|
||||
process.stdout.write(Buffer.from([0xA9])) //second half of © character
|
||||
}, 100)
|
||||
}, 5000)
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user