diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-11-10 18:02:16 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-11-13 18:57:52 -0800 |
| commit | 8d4296f96430795936a22769da35732e5342b25c (patch) | |
| tree | ee387b2c02a1e29c0bcd4e03078dc96b3ab2c3c8 /tests/float/string_format.py | |
| parent | 9169878ebbeab3fc62785b9bf753499ad9033321 (diff) | |
Add board.DISPLAY to MagTag. Fix luma computation
* Initialize the EPaper display on the MagTag at start.
* Tweak the display send to take a const buffer.
* Correct Luma math
* Multiply the blue component, not add.
* Add all of the components together before dividing. This
reduces the impact of truncated division.
Diffstat (limited to 'tests/float/string_format.py')
0 files changed, 0 insertions, 0 deletions
