gopherbadge icon indicating copy to clipboard operation
gopherbadge copied to clipboard

Screen does not display when power is restarted

Open sago35 opened this issue 2 years ago • 1 comments

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

sago35 avatar Aug 24 '23 12:08 sago35

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.

conejoninja avatar Aug 24 '23 13:08 conejoninja