Commit graph

91 commits

Author SHA1 Message Date
Ryan Ziolko
4fb55dbb71 Performance improvements using the 5.65" 7 color E Ink display.
1. As many others have done, switch to using SPI writebytes2() to send pixel data in bulk.  This makes a significant difference on a Raspberry Pi Zero W.
2. Use PIL (Pillow) to convert the image into the correct 4-bit color using a custom palette.  This dramatically speeds up conversion of the image, with the benefit of allow any kind of input image.  PIL will dither quantize/dither the colors as needed.
3. Minor formatting changes to add/remove whitespace
2021-03-09 15:19:43 -06:00
SSYYL
17921b3b11
Merge pull request #104 from dbrant/speedOptimize
Significantly increase speed of displaying images (for 7in5_V2)
2021-03-05 17:56:40 +08:00
SSYYL
e51fcad444
Merge pull request #138 from SSYYL/master
fix SPI
2021-02-23 11:39:27 +08:00
SSYYL
24edec8e57 fix SPI 2021-02-23 11:32:39 +08:00
SSYYL
0476b719ce
Merge pull request #65 from bassettb/fix-spi-closed-issue
Fix for SPI closed issue
2021-02-23 11:16:34 +08:00
SSYYL
fb7f6c324b
Merge pull request #137 from SSYYL/master
add 2.7 b V2
2021-02-22 16:08:47 +08:00
SSYYL
9edbace6e9 add 2.7 b V2 2021-02-22 16:02:55 +08:00
Dmitry Brant
f8191bb980 A bit of cleanup. 2021-02-18 09:19:07 -05:00
SSYYL
6ef4a7d54d
Merge pull request #132 from SSYYL/master
updata
2021-01-26 15:20:41 +08:00
SSYYL
e673dfa904 fix bug 2021-01-26 14:50:05 +08:00
SSYYL
7c368a22af fix 2.9_V2 & 4.01f 2021-01-26 14:48:14 +08:00
SSYYL
49260094e6
Merge pull request #130 from dev-ng/master
Significantly increase speed of displaying images (for 7in5 and 7in_HD)
2021-01-19 17:07:49 +08:00
dev-ng
8ff13cb846 significant increase of speed for 7in5 and 7in5_HD bugfixes 2021-01-14 21:28:38 +01:00
dev-ng
c950cc04c0 significant increase of speed for 7in5 and 7in5_HD 2021-01-14 21:19:52 +01:00
bassettb
d13e93279b sample of additional changes needed in driver 2021-01-07 14:42:39 -05:00
SSYYL
ebe47509b1
Merge pull request #128 from SSYYL/master
add 4.01f demo
2021-01-05 15:31:42 +08:00
SSYYL
a4cbba1a7c fix 2.7b_V2 python 2021-01-05 15:30:36 +08:00
SSYYL
7b958776c8 add 4.01f demo 2021-01-05 15:21:46 +08:00
SSYYL
b6e180bbeb
Merge pull request #127 from SSYYL/master
Don't commit bin file
2021-01-05 14:16:05 +08:00
SSYYL
c65eec8e5e Don't commit bin file 2021-01-05 13:59:03 +08:00
SSYYL
a7aba1d746
Merge pull request #108 from rohoog/rohoog/no-commit-binaries
Rohoog/no commit binaries
2021-01-05 11:33:37 +08:00
SSYYL
ede94b6d6e
Delete a 2021-01-05 10:56:19 +08:00
SSYYL
77c478abea
Create a 2021-01-05 10:56:00 +08:00
Dmitry Brant
a1edce052a Merge branch 'master' into speedOptimize 2021-01-02 10:38:23 -05:00
SSYYL
66ff76f87e
Update epd5in83b_V2.ino 2020-12-19 14:36:52 +08:00
Ronald
001ebff6a0 automatically create the 'bin' object dir 2020-12-15 00:23:37 +01:00
Ronald
65fe361639 Don't commit binaries 2020-12-15 00:23:37 +01:00
Ronald
0c95f6f8e5 Optimize compilation and garbage-collect unused sections(functions) 2020-12-15 00:23:37 +01:00
bassettb
9342a0f242 Merge branch 'master' into fix-spi-closed-issue 2020-12-13 10:35:42 -05:00
hnwangkg-ezio
63409c20df 2020-12-11 2020-12-11 14:56:25 +08:00
hnwangkg-ezio
73946511e0 Merge branch 'master' of https://github.com/waveshare/e-Paper 2020-12-11 14:36:54 +08:00
hnwangkg-ezio
04d4621789 2020-12-10 2020-12-11 14:36:30 +08:00
SSYYL
2fe12e1a17
Merge pull request #38 from ronangaillard/fix/implicit-int-cast
Fix implicit casting
2020-12-04 18:34:02 +08:00
Dmitry Brant
8d49a9e3a3 Greatly increase speed of drawing image. 2020-10-11 18:49:25 -04:00
wangkg
751a9fb93f 2020-09-03 2020-09-04 15:30:45 +08:00
wangkg
853a3a4632 2020.05.22 2020-05-22 18:29:01 +08:00
Bryan Bassett
82a87d53f5 delay SPI.open until module_init 2020-03-29 01:32:57 -04:00
hnwangkg-ezio
8973995e53 fix arduino,add readme 2019-12-31 18:33:57 +08:00
hnwangkg-ezio
e25d0bc44a add 2.13 part for arduino 2019-12-27 17:32:28 +08:00
hnwangkg-ezio
2b91f64a19 fix 2.13 V2 2019-12-20 14:08:39 +08:00
hnwangkg-ezio
272e467da0 fix 5.83bc imagesize 2019-12-10 17:27:46 +08:00
hnwangkg-ezio
8ed1b4696c add 4inch epd 4 grayscale. 2019-11-16 17:04:37 +08:00
Ronan Gaillard
c729c4400a Fix implicit casting 2019-10-27 13:32:47 +01:00
hnwangkg-ezio
702def06bc add 1.02EPD + 7.5(a,b,c) V2 + 2.7(4 gray) 2019-10-11 11:56:28 +08:00
hnwangkg-ezio
b488e9609d 2019.07.31 2019-07-31 19:11:58 +08:00
hnwangkg-ezio
717cbb8d92 2019.07.31 2019-07-31 19:08:02 +08:00
waveshare
4e72f31f11
Merge pull request #24 from samuliasmala/coordinate-fix
Fix pixel coordinate calculation for rotated displays
2019-07-24 19:14:59 +08:00
waveshare
9b99ab6ceb
Merge pull request #25 from rfinnie/python-unify
Unify all Python trees for both RPi and Jetson Nano, Py2 and Py3
2019-07-24 19:12:18 +08:00
Ryan Finnie
d0918826de
Unify all Python trees for both RPi and Jetson Nano, Py2 and Py3
* Move lib files into waveshare_epd package
  * Use int() where integer division is needed
  * Use logging (debug level) in library files, so they can be used by a
    user script without print()s being output
  * Use logging (info level) in example files
  * Move Font.ttc file into pic directory
  * epdconfig.py: Detect RPi or Jetson Nano
  * Search for sysfs_software_spi.so in several places
  * Include both Jetson and RPi readme files
  * Include setup.py for package installation
  * Fix few small syntax errors preventing setuptools byte-compiling
2019-07-20 16:48:08 -07:00
Samuli Asmala
5ff379c470
Fix pixel coordinate calculation for rotated displays
Coordinate ranges are from 0 to width-1 (or height-1). This means when calculating the rotation, using `x = this->width - y;` would lead to x of range from `this->width` (when `y=0`) to `1` (when `y=this->width-1`). Thus additional -1 is required to get correct coordinates after rotation and prevent image from clipping.
2019-07-20 11:47:25 +03:00