Commit graph

311 commits

Author SHA1 Message Date
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
Kattni
5963c71099
Merge pull request #46 from FoamyGuy/pylint_to_precommit
pylint to precommit
2021-03-08 12:34:44 -05:00
foamyguy
4384f1e722 pylint to precommit 2021-03-02 19:45:33 -06:00
Melissa LeBlanc-Williams
66780521d7
Merge pull request #45 from makermelissa/master
Added Tri-Color SSD1681 Driver
2021-02-23 14:36:46 -08:00
Melissa LeBlanc-Williams
1e85c9162f Remove errors.txt 2021-02-23 13:51:57 -08:00
Melissa LeBlanc-Williams
bd0a513c09 Change minimum similar lines to 50 and jobs to 1 in pylintrc 2021-02-23 13:48:59 -08:00
Melissa LeBlanc-Williams
d448c54ac6 Remove duplicate disable 2021-02-23 13:16:11 -08:00
Melissa LeBlanc-Williams
7753b3e6d3 Remove SSD1681B 2021-02-22 15:54:44 -08:00
Melissa LeBlanc-Williams
3040121a5d Disable duplicate code check 2021-02-22 14:39:22 -08:00
Melissa LeBlanc-Williams
b3fba66e12 Added Tri-Color SSD1681 Driver 2021-02-22 14:31:38 -08:00
dherrada
1a46a0b2f7 Hardcoded Black and REUSE versions
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-02-10 16:31:55 -05:00
foamyguy
9ffde2d715
Merge pull request #44 from adafruit/REUSE
Ran pre-commit, added licenses
2021-01-21 18:30:54 -06:00
foamyguy
be828af6d3 update author in examples 2021-01-21 18:25:43 -06:00
dherrada
ff074548d8 Ran pre-commit, added licenses 2021-01-14 12:40:30 -05:00
dherrada
61659a5c76 Added pre-commit-config file
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-01-11 16:31:20 -05:00
dherrada
783844a923 Added pre-commit and SPDX copyright
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-01-11 15:59:06 -05:00
Melissa LeBlanc-Williams
3ca62375a9
Merge pull request #41 from makermelissa/master
Added grayscale image mode support because why not
2020-08-18 14:01:38 -07:00
Melissa LeBlanc-Williams
732e1a0d7e Added grayscale image support just because 2020-08-18 13:51:29 -07:00
Limor "Ladyada" Fried
be557c4a00
Merge pull request #40 from makermelissa/master
Split out spi to make guide changes easier
2020-08-17 23:29:16 -04:00
Melissa LeBlanc-Williams
8b94ab6048 Same hanges to Pillow Demo too 2020-08-17 16:44:46 -07:00
Melissa LeBlanc-Williams
75cff623c3 Split out spi to make guide changes easier 2020-08-17 16:36:15 -07:00
dherrada
2028a7c556 Fixed discord invite link 2020-07-08 16:49:04 -04:00
Scott Shawcroft
57cd0da24a
Merge pull request #38 from adafruit/black-update
Black reformatting with Python 3 target.
2020-04-09 09:38:51 -07:00
Kattni Rembor
3cdab905e6 Black reformatting with Python 3 target. 2020-04-08 15:03:55 -04:00
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