Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation is broken #8

Open
thikade opened this issue Jun 28, 2020 · 0 comments
Open

Rotation is broken #8

thikade opened this issue Jun 28, 2020 · 0 comments

Comments

@thikade
Copy link
Contributor

thikade commented Jun 28, 2020

Thanks for this great, nifty little piece of code!
After playing around with different rotation angles I noticed that rotation seems to be broken. I cannot get the 4 possible rotation angles to work, only 3 angles can be displayed.
Piece of code I am using:

    i = 0
    while True:
        unicorn.rotation(i)
        i = (i + 90) % 360
        # ... display something
        unicorn.show()                             
        time.sleep(0.8)   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant