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

Method read

modules/io/firmata/firmataclient.js:650–655  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

648 this.#firmata.doI2CWrite(this.#state.address, buffer);
649 }
650 read(count) {
651 if (!count)
652 return this.#state.received.shift();
653
654 this.#firmata.doI2CRead(this.#state.address, count);
655 }
656}
657
658class Poco {

Callers

nothing calls this directly

Calls 1

doI2CReadMethod · 0.80

Tested by

no test coverage detected