m-laniakea / st_spin

A Python library for interfacing with ST Spin Family devices, specifically the ST Micro L6470, L6472, L6474, and L6480 ICs.
MIT License
5 stars 2 forks source link

Issue running basic commands #1

Closed jjg8282 closed 4 years ago

jjg8282 commented 4 years ago

Hi! When running the basic commands you have listed in the readme I have run into an issue I can't seem to figure out. When I compile and run the code I receive an error when calling the move function. The error states: TypeError: unsupported operand types(s) for |: 'int' and 'SpinValue'.

I'm fairly new to python so I'm sorry if it's a dumb error!

m-laniakea commented 4 years ago

This was certainly my mistake, not yours. Hopefully you were able to find another solution.