Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

I2C write a buffer bug ? #661

Closed
Closed
Assignees
fpistmABOSTM
Labels
bug 🐛Something isn't working
Milestone
@amirc2013

Description

@amirc2013

Im trying to send a buffer over a I2C communication.
this is the code i used :

 Wire.beginTransmission(SCREEN_WRITE_addr);  Wire.write(addr);  unsigned char* ptr = data;  for (int i = 0 ; i < len ; i++) {    Wire.write(*ptr);     if (DEBUG) {      Serial.print("WE WROTE :");      Serial.println(*ptr,HEX);    }    ptr++;  }  Wire.endTransmission(true);

some how only the last byte has been sent ... why ?

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp