Numpy linspace function

To create e.g. x-axis indices you can use the linspace function from numpy. You give it a range (e.g. 0 to 23) and the number of divisions and it will distribute the values evenly across that range. The stop values is included in the resulting value array by default. Example: import numpy as np np.linspace(0,…

Arduino PROGMEM

To save RAM on your Arduino You can annotate immutable variables like lookup tables or strings with the PROGMEM keyword. The data will be stored in program memory. const dataType variableName[] PROGMEM = {data0, data1, data3…​};