Commit graph

104 commits

Author SHA1 Message Date
Mikey Sklar
d17ab9ff0f copyright text 2024-10-27 10:47:44 -07:00
Mikey Sklar
dbe8e89f69 linting 2024-10-27 10:43:02 -07:00
Mikey Sklar
55668d025b added ssd1680z 2.13 eink bonnet 2024-10-27 10:25:32 -07:00
Melissa LeBlanc-Williams
73ae8236c4
Merge pull request #80 from makermelissa/alignment-fix
Fix SSD1675 driver
2023-07-07 09:51:13 -07:00
Melissa LeBlanc-Williams
3a67497cbc Fix SSD1675 driver 2023-07-06 16:54:55 -07:00
Melissa LeBlanc-Williams
52106c2ea9 Added EK79686 Support 2023-07-06 14:45:47 -07:00
Alec Delaney
009289f782 Fix Unions to Literals 2023-06-07 10:17:23 -04:00
foamyguy
148c744668 Import Direction at runtime 2023-05-22 15:55:54 -05:00
sdomoszlai13
3a6375d54a Implemented changes requested by @FoamyGuy. 2023-05-20 19:18:51 +02:00
sdomoszlai13
95758b357f Added changes requested by @FoamyGuy. 2023-05-18 21:13:17 +02:00
sdomoszlai13
251322690f Merge remote-tracking branch 'origin/fix-annotations-uc8151d.py' into fix-annotations-epd.py 2023-05-18 20:58:36 +02:00
sdomoszlai13
254efdda62 Merge remote-tracking branch 'origin/fix-annotations-ssd1681.py' into fix-annotations-epd.py 2023-05-18 20:58:01 +02:00
sdomoszlai13
a37e7fe2e3 Merge remote-tracking branch 'origin/fix-annotations-ssd1675b.py' into fix-annotations-epd.py 2023-05-18 20:57:01 +02:00
sdomoszlai13
d986bb3a82 Merge remote-tracking branch 'origin/fix-annotations-ssd1675.py' into fix-annotations-epd.py 2023-05-18 20:56:39 +02:00
sdomoszlai13
5119e0c69b Merge remote-tracking branch 'origin/fix-annotations-ssd1608.py' into fix-annotations-epd.py 2023-05-18 20:56:01 +02:00
sdomoszlai13
b55613c675 Merge remote-tracking branch 'origin/fix-annotations-mcp-sram.py' into fix-annotations-epd.py 2023-05-18 20:55:39 +02:00
sdomoszlai13
af8ef7f4a7 Merge remote-tracking branch 'origin/fix-annotations-il91874' into fix-annotations-epd.py 2023-05-18 20:54:59 +02:00
sdomoszlai13
1904165ce8 Merge remote-tracking branch 'origin/fix-annotations-il0398.py' into fix-annotations-epd.py 2023-05-18 20:52:45 +02:00
sdomoszlai13
81fb192cda Merge remote-tracking branch 'origin/fix-annotations-il0373.py' into fix-annotations-epd.py 2023-05-18 20:51:41 +02:00
sdomoszlai13
3b02f34a5f Added requested type annotations to il0373.py. 2023-05-10 11:39:11 +02:00
sdomoszlai13
207ba7e691 Added requested type annotations to il91874.py. 2023-05-10 11:31:04 +02:00
sdomoszlai13
61d59ad162 Added requested type annotations for il0398.py. 2023-05-10 11:25:11 +02:00
sdomoszlai13
22eeabb28f Added requested type annotations for ssd1608.py. 2023-05-10 11:18:23 +02:00
sdomoszlai13
f732181a3e Automatic formatting for ssd1680.py. 2023-05-10 11:10:33 +02:00
sdomoszlai13
8342c3fd42 Added requested type annotations to ssd1675.py. 2023-05-10 11:09:38 +02:00
sdomoszlai13
077dd70294 Added except clause. 2023-05-10 10:53:25 +02:00
sdomoszlai13
3b7e9b47f3 Added requested type annotations to ssd1675b.py. 2023-05-10 10:49:16 +02:00
sdomoszlai13
eb4391fb1a Added requested type annotations to ssd1680.py. 2023-05-10 10:41:32 +02:00
sdomoszlai13
f0e34c2cdd Added requested type annotations to ssd1681.py 2023-05-10 10:29:53 +02:00
sdomoszlai13
507f7862fb Added requested type annotations to uc8151d.py 2023-05-10 10:03:32 +02:00
sdomoszlai13
e4f301f833 Added requested type annotations. 2023-05-09 23:59:28 +02:00
sdomoszlai13
3f7e3d753b Fixed type annotations in accordance with code review. 2023-05-09 15:45:12 +02:00
sdomoszlai13
f8cab12915 Added type annotations. 2023-05-02 23:45:48 +02:00
Sebastian Domoszlai
cf0c6be9d9
Fixed typo in line 22 2023-05-01 22:57:48 +02:00
Liz
3c1bc12358 black 2023-04-07 12:42:44 -04:00
lady ada
c225150234 make optimizations in case we dont have to toggle CS pin on each write.
also add examples for u2if versions of feather epd
2023-04-06 23:58:53 -04:00
Alec Delaney
c7a10ad873 Update version string 2022-08-16 18:09:13 -04:00
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