Commit graph

286 commits

Author SHA1 Message Date
sommersoft
9a4bff491f build.yml: add black formatting check
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-04-07 16:06:03 -05:00
Kattni
70012786fe
Merge pull request #37 from adafruit/pylint-update
Ran black, updated to pylint 2.x
2020-03-17 13:11:13 -04:00
dherrada
c13f9f53c1 Ran black, updated to pylint 2.x 2020-03-16 14:41:40 -04:00
sommersoft
faeb1a75d8 update code of coduct: discord moderation contact section
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-15 18:32:12 -05:00
Kattni
55c07effaa
Merge pull request #36 from sommersoft/patch_coc
Update Code of Conduct
2020-03-13 15:59:31 -04:00
sommersoft
b68223a2fb update code of conduct 2020-03-13 13:52:36 -05:00
sommersoft
70ace79fa1 update pylintrc for black
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-08 19:10:23 -05:00
sommersoft
1de1df49dc build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-05 10:09:37 -06:00
Melissa LeBlanc-Williams
1f18b62616
Merge pull request #35 from mariovisic/nice_to_cpu
Reduce the CPU load when waiting for the display
2020-02-10 18:14:11 -08: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
sommersoft
dfcdd62ee2 update pylint examples directive
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-01-14 17:15:23 -06:00
Limor "Ladyada" Fried
9d3b4bff13
Merge pull request #34 from adafruit/dherrada-patch-1
Moved repository from Travis to GitHub Actions
2020-01-04 21:50:56 -05:00
dherrada
14a086eadb Moved repository from Travis to GitHub Actions 2020-01-04 14:17:32 -05:00
Melissa LeBlanc-Williams
92323d3384
Merge pull request #33 from makermelissa/master
Added EPD Pillow Shapes and Text demo
2019-10-22 10:35:12 -07:00
Melissa LeBlanc-Williams
1b43ad5ccc Added EPD Pillow Shapes and Text demo 2019-10-22 10:23:33 -07:00
Melissa LeBlanc-Williams
81caa6374f
Merge pull request #32 from makermelissa/master
Added Pillow Image drawing example
2019-10-21 17:23:27 -07:00
Melissa LeBlanc-Williams
0846fe003d Removed ImageDraw code which wasn't necessary 2019-10-21 16:49:02 -07:00
Kattni
8d6209bd55
Merge pull request #29 from adafruit/dherrada-patch-1
Removed building locally section from README, replaced with documenta…
2019-10-21 19:45:18 -04:00
Melissa LeBlanc-Williams
cc338c7b3c Simplified code a bit 2019-10-21 16:39:39 -07:00
Melissa LeBlanc-Williams
7040e6b904 Removed unused import 2019-10-21 15:38:52 -07:00
Melissa LeBlanc-Williams
739ed0b684 Added Pillow Image drawing example 2019-10-21 15:34:29 -07:00
Melissa LeBlanc-Williams
cdcd1a5e9a
Merge pull request #31 from makermelissa/master
Added Framebuf to requirements
2019-10-20 11:18:38 -07:00
Melissa LeBlanc-Williams
de931a6cdd Added Framebuf to requirements 2019-10-20 11:02:15 -07:00
dherrada
5a1474cbab
Added PyPi installation instructions 2019-10-18 21:37:20 -04:00
dherrada
16fc85386f
Removed building locally section from README, replaced with documentation section 2019-10-17 18:33:14 -04:00
Limor "Ladyada" Fried
ce9dfde1ec
Merge pull request #28 from ladyada/master
add two more eink displays, fix linux support
2019-10-08 16:23:23 -04:00
Limor "Ladyada" Fried
bd4737aa52
Merge pull request #1 from dherrada/master
Fixed some syntax in order to get the examples pylint to pass
2019-10-08 16:20:29 -04:00
dherrada
037480b30d Fixed some syntax in order to get the examples pylint to pass 2019-10-08 10:47:17 -04:00
ladyada
3761c4dad7 test switches 2019-09-29 14:31:13 -04:00
ladyada
7d08a07fa3 bonnet demo 2019-09-29 14:27:02 -04: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
5ce4a71d6a lint3 2019-09-29 01:43:59 -04:00
ladyada
14ed40f901 lintlint 2019-09-29 01:41:06 -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
058a11e7bf add new displays 2019-09-28 14:13:37 -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
30434cc6c3 add missing displays 2019-09-27 23:41:26 -04:00
ladyada
039f94aeec fix simpletest 2.13" mono 2019-09-27 23:39:42 -04:00
sommersoft
6da61f7ce1
Merge pull request #27 from ladyada/master
dont forget set frequency (as we dont use busdevice)
2019-09-27 22:35:45 -05:00
ladyada
62676fef5b dont forget set frequency (as we dont use busdevice) 2019-09-27 23:22:43 -04:00
Limor "Ladyada" Fried
82ce2b28d3
Merge pull request #26 from makermelissa/master
Added version and Repo URL
2019-09-06 15:33:43 -04:00
Melissa LeBlanc-Williams
f78e77a935 Added version and Repo URL 2019-09-06 12:00:25 -07:00