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

show graphic can't keep (IDFGH-14236) #15032

Closed
3 tasks done
learnerzcz opened this issue Dec 15, 2024 · 2 comments
Closed
3 tasks done

show graphic can't keep (IDFGH-14236) #15032

learnerzcz opened this issue Dec 15, 2024 · 2 comments
Labels
Status: Opened Issue is new

Comments

@learnerzcz
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

i use spi master demo in lcd display, the displayed "esp32" only keep a moment, how can i keep it displaying

` while (1) {
// frame++;
for (int y = 0; y < 240; y += PARALLEL_LINES) {
// printf("y=%d\n",y);
//Calculate a line.
pretty_effect_calc_lines(lines[calc_line], y, frame, PARALLEL_LINES);
//Finish up the sending process of the previous line, if any
if (sending_line != -1) {
send_line_finish(spi);
}
//Swap sending_line and calc_line
sending_line = calc_line;
calc_line = (calc_line == 1) ? 0 : 1;
//Send the line we currently calculated.
send_lines(spi, y, lines[sending_line]);
//The line set is queued up for sending now; the actual sending happens in the
//background. We can go on to calculate the next line set as long as we do not
//touch line[sending_line]; the SPI sending process is still reading from that.
}
// vTaskDelay(pdMS_TO_TICKS(100));

 }`
@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 15, 2024
@github-actions github-actions bot changed the title show graphic can't keep show graphic can't keep (IDFGH-14236) Dec 15, 2024
@nopnop2002
Copy link

nopnop2002 commented Dec 15, 2024

how can i keep it displaying

If you do not change any of the code provided as an example, it will continue to display.
Note that the sample code shifts the displayed data in small increments.

@learnerzcz
Copy link
Author

Yes,i found the problem ,is the backlight level is err i set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

3 participants