-
Notifications
You must be signed in to change notification settings - Fork 48
The display only works after the crash. #319
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
Comments
are you using the Thonny IDE? |
Yes, but if you need to use another ide I can try |
Thonny is what the problem is. It does a soft reset after flashing the board and after uploading a file. You need to perform a hard reset for it to work properly. It has to do with how the hardware is handled. A soft reset only resets the MicroPython stack and not the underlying hardware. |
My case is described after a hard reset. The problem is that after the screen starts there is no picture on the screen, it appears after the crash (last frame) |
A hard reset is pressing the reset button or unplugging the USB and plugging it back in. It crashes when you do this? |
I described what happens. When I first launch the program, after a hard reset, there are no errors. But there is no picture on the screen, only for a split second gray interference like on an old TV and that's it. After I do a soft reset (via thonny) and restart, then I see the last frame on the screen (the result of running the previous program) after the crash I also made a video of what I'm describing. Sorry for the bad English, I've already described the sequence of actions before. https://youtu.be/uzlgBHL7RPk?si=oTSxM6gJD4BXvVlr |
Describe the bug
After power supply, the screen is off
After starting one program, an artifact like an old TV appears on the screen for a split second. Then a black picture and no image
After the second start, there is a
output
1
2
3
4
The program apparently runs successfully and hello world already remains on the screen. What am I doing wrong? I need help
Expected behavior
Hello World appears on the screen the first time and does not disappear
If your problem is running the binding please past the code you are using below.*
I need to see ALL of the setup code exactly as it is being ran.
**Exact make and model number of the MCU that you are compiling for or the firmware is running on. **
The text was updated successfully, but these errors were encountered: