Skip to content

Trouble with static buffer sizes within the I2C libray. #5871

Closed
@DieterBurandt

Description

@DieterBurandt

(Arduino 1.6.18.1)

  • I2C communication:

The I2C buffer has a fixed size of 32byte in the Arduino library. If you like to use an EEPROM with a page size of e.g. 128 byte, then you must patch the buffer size in the Arduino library.

Please implement a simple method, that the user can set the size of the buffer from within the project (AVR, SAM, and SAMD(?)).

(SAM: "Wire.h" => "#define BUFFER_LENGTH 32")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Board: Arduino DueApplies only to the DueLibrary: WireThe Wire Arduino libraryfeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions