OLED graphs: clear list (internal_oled_data_clear)¶
What it does: Clears all values in the chart data list.

Inputs¶
- list
LIST: parameter selection in the block menu.
Output¶
- None (statement block).
When to use it¶
- When you want to start a new progress record from scratch.
- When resetting the screen or changing the display mode.
Tips and pitfalls¶
- The block deletes the contents of the list (
clear) but preserves the variable for further use. - On a type error, the generated helper function returns an empty list
[].
Generated Python example¶
chart_data_0 = chart_data_clear(chart_data_0)