Skip to content

Conversation

@thinkier
Copy link

@thinkier thinkier commented Aug 6, 2023

Summary of changes

  • Some documentation I discovered about LUTs (back in 2019)
  • Make the example work bare minimum

@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.09% ⚠️

Comparison is base (17941a9) 75.00% compared to head (4fba56e) 74.91%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   75.00%   74.91%   -0.09%     
==========================================
  Files           6        6              
  Lines         284      279       -5     
==========================================
- Hits          213      209       -4     
+ Misses         71       70       -1     

see 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@wezm wezm 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 this. Left a few comments.

const ROWS: u16 = 212;
const COLS: u8 = 104;

// More documentation for LUTs can be found at https://github.com/pimoroni/inky/blob/master/library/inky/inky.py#L95
Copy link
Owner

Choose a reason for hiding this comment

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

Good idea but can you make this a permalink (press y on the GitHub page) so that if the code changes the link will still point at the right thing.

// This is indeed a copy of Pimoroni's Inky LUTs. Saved here for reference.
// They license it out under the MIT license. Refer to LICENSE-MIT for more details.

// More documentation for LUTs can be found at https://github.com/pimoroni/inky/blob/master/library/inky/inky.py#L95
Copy link
Owner

Choose a reason for hiding this comment

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

Same here

@@ -0,0 +1,49 @@
// This is indeed a copy of Pimoroni's Inky LUTs. Saved here for reference.
// They license it out under the MIT license. Refer to LICENSE-MIT for more details.
Copy link
Owner

Choose a reason for hiding this comment

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

We should credit Pimoroni in the LICENSE, please add

Copyright (c) 2018 Pimoroni Ltd.

to the top of LICENSE-MIT


// More documentation for LUTs can be found at https://github.com/pimoroni/inky/blob/master/library/inky/inky.py#L95
#[rustfmt::skip]
const LUT: [u8; 70] = [
Copy link
Owner

Choose a reason for hiding this comment

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

Can the example be updated to use the LUTs add to the crate?

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.

3 participants