foamyguy
d1918e4263
remove pylint disables
2025-05-14 10:08:24 -05:00
foamyguy
6664962573
change to ruff
2025-05-14 14:20:31 +00:00
Alec Delaney
009289f782
Fix Unions to Literals
2023-06-07 10:17:23 -04:00
sdomoszlai13
3a6375d54a
Implemented changes requested by @FoamyGuy.
2023-05-20 19:18:51 +02:00
sdomoszlai13
3b02f34a5f
Added requested type annotations to il0373.py.
2023-05-10 11:39:11 +02:00
Alec Delaney
c7a10ad873
Update version string
2022-08-16 18:09:13 -04:00
dherrada
ff074548d8
Ran pre-commit, added licenses
2021-01-14 12:40:30 -05:00
dherrada
c13f9f53c1
Ran black, updated to pylint 2.x
2020-03-16 14:41:40 -04: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
Melissa LeBlanc-Williams
f78e77a935
Added version and Repo URL
2019-09-06 12:00:25 -07:00
ladyada
b04d3e7ab5
lint
2019-03-31 18:16:31 -04:00
ladyada
11c3179f08
allow rearranging of buffers (for flex displays)
2019-03-31 17:56:59 -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
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
dean
6f0914a46e
DM: fix pylint stuff
2018-08-21 17:54:44 -04:00
dean
cf15aa7da1
DM: working blinka example
2018-08-21 17:48:19 -04:00
dean
02e70fa8bf
DM: adding blinka support
2018-08-21 17:12:23 -04:00
Scott Shawcroft
fd8672b292
Truncated division because its faster
2018-08-09 12:00:28 -07:00
dean
2055e59ed8
DM: fix for pylint
2018-07-18 15:21:51 -04:00
dean
ece830385d
DM: update docstrings
2018-07-16 17:19:49 -04:00
Kattni
3d2ad78158
corrected pylint: enable location
2018-07-16 12:24:08 -04:00
dean
d49b0721b3
DM: disable too many args for pylint
2018-07-12 17:38:56 -04:00
dean
49898a6450
DM: remove soft framebuf stuff
2018-07-12 17:17:17 -04:00
dean
59bfc3f68f
DM: fix some pylint stuff
2018-07-12 17:03:30 -04:00
dean
b0727ae67f
DM: fix pylint stuff
2018-07-12 16:38:49 -04:00
dean
01d7cfb046
DM: make pylint happy
2018-07-12 16:28:01 -04:00
Kattni Rembor
c8f49c673d
Changed case of directory
2018-07-12 15:38:32 -04:00