Skip to content

Conversation

@hansmi
Copy link
Contributor

@hansmi hansmi commented Jan 18, 2022

  • Add tests for waveshare2in13v2.New()
  • Swap the order of width and height in waveshare2in13v2.Dev.String()
  • Simplify memory configuration

Ensure the internal buffer has the correct size and a few other
properties are correct.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
The convention is to write dimensions with the width first.
Use Go's built-in "encoding/binary" package to encode the memory area
size and re-use the encoded positions for setting the counters.
@maruel
Copy link
Member

maruel commented Jan 18, 2022

Thanks!

@maruel maruel merged commit 394037d into periph:main Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants