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

Method write14Bits

modules/io/firmata/firmataclient.js:298–301  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

296 }
297 }
298 write14Bits(value) {
299 this.write(value & 0x7F);
300 this.write((value >> 7) & 0x7F);
301 }
302 writeString(value) {
303 for (let i = 0; i < value.length; i++)
304 this.write14Bits(value.charCodeAt(i));

Callers 10

writeStringMethod · 0.95
doSetSamplingIntervalMethod · 0.95
doDigitalChannelWriteMethod · 0.95
doI2CReadMethod · 0.95
doI2CWriteMethod · 0.95
doPocoBeginMethod · 0.95
doPocoClipMethod · 0.95
doPocoOriginMethod · 0.95
doPocoFillRectangleMethod · 0.95
doPocoDrawPixelMethod · 0.95

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected