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

tree.py doesn't seem to turn lights on #33

Open
lb1313 opened this issue Dec 22, 2023 · 2 comments
Open

tree.py doesn't seem to turn lights on #33

lb1313 opened this issue Dec 22, 2023 · 2 comments

Comments

@lb1313
Copy link

lb1313 commented Dec 22, 2023

Hi,

I'm completely new to python.
I followed the instructions and the tree.py code doesn't seem to do as the instructions say (the lights don;t turn on white).

I'm not sure what has gone wrong or how to fix it.

@bennuttall
Copy link
Member

Is there an error?

@lb1313
Copy link
Author

lb1313 commented Dec 23, 2023

Is there an error?

Hi,
No, the code appears to be working fine (I click the "run" button in Thonny and it appears to run without issue, and the same when I run the tree.py via the terminal).

I have also checked that I am running python3 and that all packages are up to date. I have checked the connections by plugging my sense HAT into my raspberry pi 4 and that is working and lighting up. Both the RGB xmas tree and the sense HAT have been stored in the same place whilst they were not in use too and the tree appears to be physically fine.

I do remember this being an issue for me a few years ago when I originally got my Pi and the tree, but I decided to start fresh this year and try to learn how to code properly, and don't have that work around saved anywhere any more. I remember spending days figuring out the issue then too :-)

I am pretty comfortable with the coding language in general as I regularly use the R statistical programming language for work, and python appears to be fairly similar (with some differences).

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

2 participants