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

Screen does not display when power is restarted #6

Open
sago35 opened this issue Aug 24, 2023 · 1 comment
Open

Screen does not display when power is restarted #6

sago35 opened this issue Aug 24, 2023 · 1 comment

Comments

@sago35
Copy link

sago35 commented Aug 24, 2023

After tinygo flash, the screen always displays.
However, once I turn the power back on, the screen is not displayed.
In this state, the screen will be displayed if the reset button is repeated several times.

It was the same for both of the following source codes.
Maybe I should write an issue to tinygo-org/drivers, but I am thinking that gopher-badge might be the cause.

https://github.com/conejoninja/gopherbadge/blob/main/tutorial/basics/step5/main.go
https://github.com/tinygo-org/drivers/blob/release/examples/st7735/main.go

I tried ST7735 externally, but that does not reproduce the problem.

image

@conejoninja
Copy link
Owner

I don't fully understand the issue, is it happening with USB-C connected?

There's this issue when powering from battery :

Not powering up with battery connected

If your battery is connected and switching your badge to ON doesn’t power it up, disconnect your battery, switch to ON and connect your battery again. Another option is to switch to ON, and connect briefly a powered USB-C cable to the connector, it will bootup and then you are free to disconnect the USB-C. If it doesn’t power up, then check the battery charge.

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