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

Method writeString

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

Source from the content-addressed store, hash-verified

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));
305 }
306
307 usePins(pins, use) {
308 for (let pin = 0; pins; pin++, pins >>= 1) {

Callers

nothing calls this directly

Calls 1

write14BitsMethod · 0.95

Tested by

no test coverage detected