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

Method write

modules/io/firmata/firmataclient.js:647–649  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

645 this.#state = undefined;
646 }
647 write(buffer) {
648 this.#firmata.doI2CWrite(this.#state.address, buffer);
649 }
650 read(count) {
651 if (!count)
652 return this.#state.received.shift();

Callers

nothing calls this directly

Calls 1

doI2CWriteMethod · 0.80

Tested by

no test coverage detected