Hi,
Working on this build ( https://learn.adafruit.com/lightsaber-f ... g?view=all ) and have all connections made.
When I power up the board flashes 4 times yellow and 2 times red.
I am assuming this is some sort of error code but I don't know where to find these codes to troubleshoot myself.
Any assistance would be greatly appreciated.
Thanks
Lightsaber Error Codes
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15820
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Lightsaber Error Codes
That is an error code.
Can you post what you see in the REPL when the code runs? That should give a better idea of what's happening.
If you aren't familiar with using the REPL (or even just the serial connection), see
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... n/the-repl
Dave
Can you post what you see in the REPL when the code runs? That should give a better idea of what's happening.
If you aren't familiar with using the REPL (or even just the serial connection), see
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... n/the-repl
Dave
- 3DPrintJunkee
- Posts: 3
- Joined: Sat Jun 25, 2022 6:10 pm
Re: Lightsaber Error Codes
File "code.py", line 16, in <module>
MpyError: Incompatible .mpy file.
Line 16 is import neopixel
MpyError: Incompatible .mpy file.
Line 16 is import neopixel
- 3DPrintJunkee
- Posts: 3
- Joined: Sat Jun 25, 2022 6:10 pm
Re: Lightsaber Error Codes
Got it!!!
Just had to update the librairies.
I had to plug it in to my laptop and run Mu to get the Serial Console to work (Windows 10)
The Serial Console wouldn't work on my PC using Windows 11.
Weird but all good now.
Thanks
Just had to update the librairies.
I had to plug it in to my laptop and run Mu to get the Serial Console to work (Windows 10)
The Serial Console wouldn't work on my PC using Windows 11.
Weird but all good now.
Thanks
- dastels
- Posts: 15820
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Lightsaber Error Codes
Cool.
Yeah, that's weird about Win11. Anti-virus software might be blocking it.
Dave
Yeah, that's weird about Win11. Anti-virus software might be blocking it.
Dave
Please be positive and constructive with your questions and comments.