Commit graph

51 commits

Author SHA1 Message Date
Berenguer Montserrat
07db82a590 Modified Makefile to create a shared library
Modified Makefile to be able to create a shared library. This simplifies
the use of that code (used in the example) in other projects. Now, the
example provided links against this library as well.

Because Raspberry Pi and Jetson differ in hardware, they use different
libraries, specific for each platform. So, I have added a simple rule
which tells the user to make for one or for the other, instead of making
for both.

I have added a gitignore that ignores de bin folder, which is not
necessary to be under source control. The two binaries, epd (example)
and the library are ignored as well. I have modified the Makefile
accordingly to be able to create the bin folder.

Finally, I have added a little print in the examples' main.c to tell the
user to uncomment one of the tests, because by default, the example demo
does nothing and do not inform the user.
2019-08-17 09:54:47 +02:00
Berenguer Montserrat
9d5aa995a1 Merged from master and reloaded gitignore 2019-08-17 08:58:48 +02: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
Berenguer Montserrat
daa29e49c6 Modified Makefile to create a shared library
Modified Makefile to create a easy to link shard library for e-Paper display
driver for Raspberry Pi (C code).

This way, it is more easy to link against this code when creating custom
projects which use that e-paper screen.

* Reorganized src variables
* Created 2 new targets: make lib and make example (and make all)
* make clean now does not file if files do not exist
* make clean removes bin directory. There is a target which create it
automatically
2019-07-28 11:39:44 +02:00
Berenguer Montserrat
f464eb8a72 Added folder .gitignore to avoid pushing binaries
Removed bin folder with object files and the final binaries from source
control
2019-07-28 11:35:50 +02: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
hnwangkg-ezio
0c77852dae fix 2.9 2019-06-25 15:52:14 +08:00
hnwangkg-ezio
1f82e4a488 2019.06.24 2019-06-24 17:11:43 +08:00
hnwangkg-ezio
e945bfbbf3 Merge branch 'master' of https://github.com/waveshare/e-Paper 2019-04-11 11:29:04 +08:00
hnwangkg-ezio
9af684dfdf fix python Sendcommand 2019-04-11 11:28:33 +08:00
waveshare
4e97fd7486
Update README.md 2019-04-08 19:20:23 +08:00
hnwangkg-ezio
f4efe420f0 fix readme.txt 2019-04-08 19:04:58 +08:00
hnwangkg-ezio
c3bc588b52 Merge branch 'master' of https://github.com/waveshare/e-Paper 2019-04-08 18:54:48 +08:00
hnwangkg-ezio
9e00b61190 fix readme.txt 2019-04-08 18:54:25 +08:00
waveshare
3546005da4
Update README.md 2019-04-08 18:30:06 +08:00
waveshare
015c582f6b
Update README.md 2019-04-08 18:29:43 +08:00
waveshare
bc0e464718
Update README.md 2019-04-08 18:27:31 +08:00
waveshare
e74cd4b7a1
Update README.md 2019-04-08 18:27:11 +08:00
waveshare
8da150adcd
Update README.md 2019-04-08 18:26:35 +08:00
waveshare
81cee792a5
Update README.md 2019-04-08 18:25:48 +08:00
waveshare
e1196c3da3
Update README.md 2019-04-08 18:24:59 +08:00
waveshare
1e07d481c4
Update README.md 2019-04-08 18:22:02 +08:00
waveshare
ab29d2dc9f
Update README.md 2019-04-08 18:21:24 +08:00
hnwangkg-ezio
feed1fab5d fix readme.txt 2019-04-08 18:16:08 +08:00
hnwangkg-ezio
b972a142ac fix readme.txt 2019-04-08 18:05:01 +08:00
hnwangkg-ezio
ea758b02ef add arduino code 2019-04-08 17:50:14 +08:00
hnwangkg-ezio
96f7f571d6 fix python demo 2019-04-08 17:12:44 +08:00
hnwangkg-ezio
773eba0e26 fix readme 2019-04-08 16:35:52 +08:00
hnwangkg-ezio
50e33745ee Merge branch 'master' of https://github.com/waveshare/e-Paper 2019-04-08 16:25:56 +08:00
hnwangkg-ezio
b5d89670be fix readme 2019-04-08 16:25:38 +08:00
waveshare
20ef8dca08
Merge pull request #7 from gypsophlia/master
Add CS in 2.13inch_e-paper_code  python code
2019-04-04 16:53:41 +08:00
chenzitai
dd0f1e8225 Add CS in python code 2019-04-02 22:16:49 +01:00
waveshare
a45ad298b3
Delete 2.9inch_e-paper_b 2019-04-01 14:15:27 +08:00
hnwangkg-ezio
96bbeab012 fix GUI_BMPfile.c 2019-04-01 14:13:52 +08:00
hnwangkg-ezio
e7128c1c22 add python font install 2019-04-01 13:53:33 +08:00
hnwangkg-ezio
f8a1f32638 fix 2.13inch python 2019-03-20 10:36:06 +08:00
waveshare
977b32e413
Update README.md 2019-03-07 17:51:45 +08:00
waveshare
699c559bb4
Update README.md 2019-03-07 17:50:38 +08:00
waveshare
2a002561e6
Update README.md 2019-03-07 17:50:21 +08:00
waveshare
5a953edd52
Update README.md 2019-03-07 17:45:10 +08:00
waveshare
7dc6bf7deb
Update README.md 2019-03-07 17:43:23 +08:00
waveshare
c8d2458ba1
Update README.md 2019-03-07 17:42:28 +08:00
waveshare
0d094fd9e4
Update README.md 2019-03-07 17:41:59 +08:00
waveshare
e477ef1dc7
Update README.md 2019-03-07 17:36:56 +08:00
waveshare
a6269fcd55
Update README.md 2019-03-07 17:36:11 +08:00
waveshare
1ebdcb57e0
Update README.md 2019-03-07 17:35:07 +08:00