Rev 13 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 13 | Rev 19 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | const int top_margin; |
29 | const int top_margin; |
| 30 | const int bottom_margin; |
30 | const int bottom_margin; |
| 31 | const int plot_height; |
31 | const int plot_height; |
| 32 | 32 | ||
| 33 | /// @brief persistent storage - a trail of pixels follow the plotted point. . |
33 | /// @brief persistent storage - a trail of pixels follow the plotted point. . |
| 34 | static unsigned const PERSIST= 40; |
34 | static unsigned const PERSIST= 300; |
| 35 | 35 | ||
| 36 | uint8_t persist_x[PERSIST]; |
36 | uint8_t persist_x[PERSIST]; |
| 37 | uint8_t persist_y[PERSIST]; |
37 | uint8_t persist_y[PERSIST]; |
| - | 38 | // large enough to hold value 0..PERSIST-1 |
|
| 38 | uint8_t next_persist; |
39 | uint16_t next_persist; |
| 39 | }; |
40 | }; |
| 40 | 41 | ||