New EEPROM module names

Posted on
Page
of 3
First Prev
/ 3
  • Regarding @DrAzzy's comment about

    ...memory usage DOUBLE THE SIZE OF THE THING YOU'RE READING.

    and @Gordon's option of

    adding a SPI.read()

    made me thinking:

    How about the SPI.read() still consumes a memory 'block' for keeping the clock ticking like the SPI.send() needs to do so, but the SPI.read() would write into that very same provided memory block. When the data item read is a byte or less, the provided memory block is either a string or an Uint8Array(Buffer) where the byte would get stored, otherwise it has always to be an Array (like thing). The values read could be the same buffer or the number of bytes/itemns read.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

New EEPROM module names

Posted by Avatar for DrAzzy @DrAzzy

Actions