summaryrefslogtreecommitdiff
path: root/tests/float/float1.py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-11-10 18:02:16 -0800
committerScott Shawcroft <scott@tannewt.org>2020-11-13 18:57:52 -0800
commit8d4296f96430795936a22769da35732e5342b25c (patch)
treeee387b2c02a1e29c0bcd4e03078dc96b3ab2c3c8 /tests/float/float1.py
parent9169878ebbeab3fc62785b9bf753499ad9033321 (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/float1.py')
0 files changed, 0 insertions, 0 deletions