How to make a running graph? #1950
-
Good afternoon! I'm trying to figure out your examples with plotting. I'm trying to figure out if it's possible to make a running graph (similar to a plotter) so that after filling in the lines begin to shift to free up space. Is it possible to do this? If so, how? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If sufficient RAM is available then a scrolling sprite can be used. See example here: |
Beta Was this translation helpful? Give feedback.
-
Not sure what you mean but setScrollRect(...) will reset the scroll window. |
Beta Was this translation helpful? Give feedback.
If sufficient RAM is available then a scrolling sprite can be used. See example here:
https://github.com/Bodmer/TFT_eSPI/blob/master/examples/Sprite/Sprite_scroll/Sprite_scroll.ino