-
Notifications
You must be signed in to change notification settings - Fork 195
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
[HUB75]Leds do not light up as expected #691
Comments
|
@ehime-iyokan I think the fix you are considering is necessary. with
|
Including other parts as well, it is better to use https://github.com/tinygo-org/drivers/blob/v0.28.0/delay/sleep.go with
|
I created pullrequest. => (#722)
|
Thank you for providing the information. @sago35 |
I wrote program using hub75 package and raspberry pi pico. but, it didn't light up. So I have tried to fix hub75.
As a result. It light up as expected. And Environmental information is here. -> https://github.com/ehime-iyokan/tinygo_hub75_sample
First, I added a
time.sleep(1 * time.Microsecond)
after latch-High.By doing so, the light came on. However, I don't know why, so if you know, please let me know.
Moreover, the red lights are on in different places.
Second, I fixed buffering of red data.
I guess it has to do left-shift first.
d.buffer[c][offsetR] = d.buffer[c][offsetR] &^ 1 << bitSelect
->
d.buffer[c][offsetR] &^= 1 << bitSelect
The text was updated successfully, but these errors were encountered: