Commit graph

67 commits

Author SHA1 Message Date
Melissa LeBlanc-Williams
d738c779a6 Added UC8151D support 2021-09-20 17:31:27 -07:00
Curran D. Muhlberger
f0ffe0cb12 Fix #52 Distinguish stride from width for SSD1680
Apply fix from 8022b34 to Adafruit_SSD1680, allowing rotations of 1 and
2 to be used even when width is not a multiple of 8.
2021-06-12 13:11:09 -04:00
Linar Yusupov
f0d6f5f9cb fix candidate for an issue that font size argument is not passed to the framebuf layer 2021-03-29 10:16:14 +03:00
Melissa LeBlanc-Williams
a0dd880e13 Fix ram offset for ssd1680 2021-03-12 09:07:45 -08:00
Melissa LeBlanc-Williams
ec379ba7ae Ran pre-commit again because it didn't work the first time 2021-03-11 17:09:55 -08:00
Melissa LeBlanc-Williams
c84dc45f7b Added SSD1680 Driver 2021-03-11 17:05:25 -08:00
Melissa LeBlanc-Williams
7753b3e6d3 Remove SSD1681B 2021-02-22 15:54:44 -08:00
Melissa LeBlanc-Williams
b3fba66e12 Added Tri-Color SSD1681 Driver 2021-02-22 14:31:38 -08:00
dherrada
ff074548d8 Ran pre-commit, added licenses 2021-01-14 12:40:30 -05:00
Melissa LeBlanc-Williams
732e1a0d7e Added grayscale image support just because 2020-08-18 13:51:29 -07:00
dherrada
c13f9f53c1 Ran black, updated to pylint 2.x 2020-03-16 14:41:40 -04:00
Mario Visic
7b064da754 Call sleep() on time 2020-02-06 21:35:46 +11:00
Mario Visic
7ac5141509 Reduce the CPU load when waiting for the display
In many places a `pass` instruction is used in loops to wait until we hear back
back from the display. This causes the loop to execute continuously which uses
all of the available CPU, if we instead sleep for 1ms, we don't lose much time
(less than 1ms each wait) and we dramatically reduce the load on the CPU.

Before the change (updating a 3-color 2.13" display):

```
time python3 ./update_display

real    0m19.664s
user    0m17.622s
sys     0m1.046s
```

After the change:

time python3 ./update_display

real    0m19.730s
user    0m3.563s
sys     0m0.792s1

The total time to run the script is about the same, but the CPU time has reduced dramatically.
2020-02-06 21:03:43 +11:00
ladyada
8022b3427e fix stride for rotation of odd-pixel-counts 2019-09-29 12:29:29 -04:00
ladyada
3f9bc2665a remove another dup 2019-09-29 01:51:44 -04:00
ladyada
2d2c841773 fix dup register and docname 2019-09-29 01:49:51 -04:00
ladyada
b202863f31 lint 2019-09-29 01:38:04 -04:00
ladyada
f557beff1a run correct lut, checked with both 2.13"s 2019-09-29 01:32:52 -04:00
ladyada
be57b80782 fix orientation. needs lutwork 2019-09-28 14:09:53 -04:00
ladyada
da1a8ef8d9 rough beginnings of an ssd1375b driver 2019-09-28 13:57:52 -04:00
ladyada
24a7c80756 fix display 2019-09-28 03:42:17 -04:00
ladyada
3090292ce7 start of ssd1681 driver 2019-09-28 03:14:28 -04:00
ladyada
432dacf019 fix image(), working now. blinka demo improvements 2019-09-28 00:12:52 -04:00
ladyada
62676fef5b dont forget set frequency (as we dont use busdevice) 2019-09-27 23:22:43 -04:00
Melissa LeBlanc-Williams
f78e77a935 Added version and Repo URL 2019-09-06 12:00:25 -07:00
mrmcwethy
a6f24ebd24 fixed issue #22 and #21 2019-05-29 16:44:08 -07:00
mrmcwethy
b900b300ea Fix for issue #19 OverflowError: value must fit in 1 byte(s) 2019-05-19 15:55:59 -07:00
ladyada
83abd0a4ff lint & add new chip 2019-03-31 21:38:01 -04:00
ladyada
c410494ebc some lintin 2019-03-31 20:37:00 -04:00
ladyada
df3b5e049b initial add of SSD1308 2019-03-31 20:25:17 -04:00
ladyada
b04d3e7ab5 lint 2019-03-31 18:16:31 -04:00
ladyada
eb8fe05329 add tri-color 4.2" 2019-03-31 18:10:33 -04:00
ladyada
d37b6432cd matchy up 2.7" to new buffer assignment 2019-03-31 17:58:37 -04:00
ladyada
11c3179f08 allow rearranging of buffers (for flex displays) 2019-03-31 17:56:59 -04:00
ladyada
9010050ded linting 2019-03-31 15:53:46 -04:00
ladyada
e69578744a add 2.7" tricolor and single byte transfer support for weird chips 2019-03-31 15:46:12 -04:00
ladyada
ad5b467d40 fix pylint spi.write complaint 2019-03-31 01:22:54 -04:00
ladyada
fe0cb4d9f4 linty!@ 2019-03-31 01:18:08 -04:00
ladyada
b32893c930 fix width and height 2019-03-30 23:26:56 -04:00
ladyada
7fd35d081a big refactor but now works with ram or sram 2019-03-30 22:31:15 -04:00
ladyada
2c20e845ee fix incorrect init order 2019-03-04 21:30:52 -05:00
ladyada
642cb0dada width/height change with rotation 2019-01-06 15:08:38 -05:00
ladyada
cf49a1d23f ahh, orientation is always with inkdots at bottom 2019-01-06 14:45:01 -05:00
ladyada
0728206b49 fix none-8-bit boundary sizes 2019-01-06 14:35:24 -05:00
ladyada
4f9b90c4c0 add const underscores and rotation 2019-01-06 11:45:12 -05:00
ladyada
f7c350111d begin framebuffification 2019-01-05 21:43:42 -05:00
ladyada
346a9d47ff use mem buffer if no SRAM pin 2019-01-05 20:51:55 -05:00
ladyada
9c51956625 charge arg order/kwarg, make busy/reset optional 2019-01-01 17:07:51 -05:00
ladyada
bdda66890a get rid of clear_display/clear_buffer and replace with just fill() 2019-01-01 16:27:16 -05:00
Scott Shawcroft
e4b1946fd6
Merge pull request #4 from adafruit/tannewt-patch-1
Truncated division because its faster
2018-10-14 23:31:51 -07:00