var serial = require('webaudio-serial-tx'); var port = serial({ baud: 9600 }); port.write(new Buffer(5000).fill('wow')); port.start(); var port = serial(opts) Create a new writable stream port that will play UART framed serial data through the system speakers using webaudio. opts.context - the audio context to use opts.baud - the number of bits per second of framed data to transmit opts.autosuspen
{{#tags}}- {{label}}
{{/tags}}