OLED charts: array length (internal_oled_data_len)¶
What it does: Returns the number of elements in the chart data list.

Inputs¶
- list
LIST: parameter selection in the block menu.
Output¶
- Value.
When to use it¶
- When you need to monitor the filling of the data buffer.
- For "draw after N patterns" conditions.
Tips and pitfalls¶
- Returns list length via helper
chart_data_len; returns0on type error. - Fits as a condition before
internal_oled_data_getto check the index.
Generated Python example¶
count = chart_data_len(chart_data_0)