Dimensional Array
by sashaT on Sun Jan 10, 2021 9:51 am
Hi! I have a computer (python) application that will send a dimensional array through serial to a board. I need to generate a dimensional array from lists. I want an empty array, arr = [] or arr = np.array([]). Next, I have a list named writearr that is constantly refilled with data. I want to write the data into a new dimension, for example, if writearr = [3,4,5], when I run a command, I want the arr list, which previously contained [0,1,2,] to be arr = [[0,1,2],[3,4,5]]. How can I do this?