MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / write

Method write

modules/io/firmata/firmataserver.js:120–122  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

118 return this.transport.read(count);
119 }
120 write(value) {
121 this.transport.write(Uint8Array.of(value).buffer);
122 }
123 onReadable(count) {
124 let length = this.buffer.length;
125 let buffer = new Uint8Array(length + count);

Callers 7

onReceiveMethod · 0.95
onSysexMethod · 0.95
write14BitsMethod · 0.95
doSendStringMethod · 0.95
onDigitalChangedMethod · 0.95
onAnalogChangedMethod · 0.95
onI2CReadMethod · 0.95

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected