I am using this program. I opened it with Python 3.8.5 IDLE.
When I start running myo.py
, the program works well, every 0,1 second give me back some sort of data with hexadecimal number in it. But after I make a wrong hand gesture with my hand, or move my whole arm, I get this error message:
"ValueError: Expected 2D array, got 1D array instead:
array=[356 643 848 457 250 398 309 370]."
The point is, I need to get 8 numbers between 200 and 1000 every 0.1 second.
Like this: [356 643 848 457 250 398 309 370]
But I got some hexadecimal number instead. I do not know how to convert the original data. If anyone could help I would appreciate it.