Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFT_readData didn't read #64

Open
GermanSheepDog opened this issue Dec 21, 2018 · 0 comments
Open

TFT_readData didn't read #64

GermanSheepDog opened this issue Dec 21, 2018 · 0 comments

Comments

@GermanSheepDog
Copy link

GermanSheepDog commented Dec 21, 2018

Hello,

I used "TFT_readData" for reading the color data from rectangular screen. I always received 0xff.

I tested it in tftspi.c:

// Read color line
ret = read_data(0, _height/2, _width-1, _height/2, _width, line_rdbuf, 0);
printf("Receive: ");
for (int u=0; u<_width*3; u++)
printf("%02x ",line_rdbuf[u]);
printf("\n");

Can anyone help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant