OLED Charts: Data list Initialization (internal_oled_data_init)¶
What it does: Creates (or resets) the selected data array variable to an empty list [] for further plotting.

Inputs¶
- list
LIST: the name of the variable list with which other chart blocks will work.
Output¶
- None (statement block).
When to use it¶
- At the beginning of the program before the blocks
internal_oled_data_add,internal_oled_data_limit,internal_oled_data_get. - When you want to start collecting chart data from scratch.
Tips and pitfalls¶
- Repeated calls in the main loop continuously delete data.
- The block only initializes the data array, it does not draw anything into the framebuffer itself.
Generated Python example¶
chart_data_0 = []