Skip to content

Conversation

@bodyweightenergy
Copy link
Contributor

@bodyweightenergy bodyweightenergy commented Dec 28, 2020

Changed first bytes for Command::PreChargePeriod and Command::VcomhDeselect to be what they should be in the datasheet (0xD9 and 0xDB, respectively).

This fix got the driver working properly for my hardware setup (Raspberry Pi Zero W + WaveShare SH1106 HAT).
Before this fix, the display would behave differently in based on what seemed to be background cosmic radiation; sometimes it would work perfectly, sometimes it would go dark after a few seconds of displaying something.

This relates to issue #7.

Changed first bytes for "PreChargePeriod" and "VcomhDeselect" to be what they should be in the datasheet (0xD9 and 0xDB, respectively). 
This fix got the driver working properly for my hardware (raspberry pi zero w + WaveShare SH1106 HAT). 
Before this fix, the display would behave differently in based on what seemed to be background cosmic radiation; sometimes it would work perfectly, sometimes it would go dark after a few seconds of displaying something.
Copy link
Collaborator

@jamwaffles jamwaffles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! I don't have hardware on hand to test with right now, so I'll trust your judgement 😁

@jamwaffles jamwaffles merged commit 130c0b2 into rust-embedded-community:master Dec 28, 2020
jamwaffles added a commit that referenced this pull request Dec 28, 2020
@jamwaffles
Copy link
Collaborator

This has been released in 0.3.4. Please let me know if you run into any issues.

@bodyweightenergy
Copy link
Contributor Author

I can verify that 0.3.4 works with my hardware. Thanks for the prompt response!

@jamwaffles
Copy link
Collaborator

Excellent 😁

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

Successfully merging this pull request may close these issues.

2 participants