Commit graph

43 commits

Author SHA1 Message Date
Benedikt Willi
f0fb434916 Moved -t argument from SampleBase to RunText, let SampleBase inherit from object instead of ArgumentParser, code cleanup 2017-01-05 11:33:44 +01:00
Roberto Marquez
6e41022019 Python - Allow the user to specify the text to scroll via a command line flag. (#252)
* Accept the text to scroll as a command line parameter.  If not text flag is given, then the default, "Hello world", is used.
2017-01-04 22:58:23 -08:00
Henner Zeller
1a0b3e800f o Smallish documentation updates. 2016-11-01 09:14:39 -07:00
Henner Zeller
aae24fbfa7 o Add TODO for Python impl. 2016-10-13 12:51:49 -07:00
Henner Zeller
f0fb12d716 o Add reference to @Duality4Y's experiment with PyPy and CFFI
binding. In context of #159
2016-09-14 09:59:41 -07:00
Henner Zeller
d4225c7ecd o Little readme updates. 2016-09-05 18:41:06 -07:00
Henner Zeller
ed86e0d66d o Add hint what is a good place to start improving performance of
the Python binding.
2016-09-04 08:48:51 -07:00
Henner Zeller
3d26a60c2b o Make sure that changes in library are incorporated on next
Python build.
2016-09-03 13:04:16 -07:00
Henner Zeller
c1b36fe7ba Merge branch 'master' of https://github.com/hzeller/rpi-rgb-led-matrix 2016-09-03 12:40:14 -07:00
Henner Zeller
e85c9e606d o Give a section about roughly expected speed differences
of Python on different platforms. Part of the result from discussion
  on #159
2016-09-03 12:39:09 -07:00
Jasper Poppe
e0625324a6 Fixed typo, Adafrtui -> Adafruit 2016-08-30 08:59:59 +02:00
Henner Zeller
ec28d0fe71 o update docs. 2016-08-29 00:35:57 -07:00
Henner Zeller
3f2904f163 o fix an executable mode 2016-08-29 00:30:24 -07:00
Henner Zeller
4c83fca59b o use latest version of cython 2016-08-29 00:21:08 -07:00
Henner Zeller
1efb3c1034 Merge branch 'master' of https://github.com/hzeller/rpi-rgb-led-matrix 2016-08-29 00:19:51 -07:00
Henner Zeller
98bb7a7879 o Little updates needed for Python3 2016-08-29 00:19:34 -07:00
Henner Zeller
4dc1a12f12 o Add image viewer example in README. 2016-08-28 18:14:09 -07:00
Henner Zeller
1a9c096d04 o Add some image examples. 2016-08-28 17:50:05 -07:00
Henner Zeller
deee50310d o Warning when image is not in RGB mode. 2016-08-28 17:45:53 -07:00
Henner Zeller
5814ed03d5 o Add a SetImage() method to the canvas class. This is not optimized
yet, but actually sufficiently fast on a Raspberry Pi 3
  Fixes #205, #152
2016-08-28 16:25:45 -07:00
Henner Zeller
3e0741f3ec o Move validation into c-code. 2016-08-28 13:39:32 -07:00
Henner Zeller
8629631a2f o Some initial Makefile cleanup. 2016-08-28 12:37:10 -07:00
Henner Zeller
8b7e64a438 o make problem in font path a little easier to use: raise an
exception (better solution for #188)
2016-08-28 11:58:00 -07:00
Henner Zeller
dbaa006072 o More explicit error handling for font loading error (Caused problem in #188) 2016-08-28 11:44:50 -07:00
Henner Zeller
c015981ee9 o little comment updates. 2016-08-28 11:39:43 -07:00
Henner Zeller
f3cae310b9 o Update readme re. Python 3.x to be not specific to minor version.
o Move cython generation into rgbmatrix/Makefile
2016-08-28 10:22:52 -07:00
Henner Zeller
a82e8bd1e3 o Some API pointers. 2016-08-20 10:43:54 -07:00
Johannes Hoppe
e2693a395f Add python 3 support 2016-07-30 13:59:55 +02:00
Henner Zeller
cf2c477bbc o Update documentation to mention to install python2.7-dev.
Fixes but #125 confusion.
2016-03-30 09:33:41 -07:00
Henner Zeller
5c6653d168 o Add an example that shows text running. 2015-12-02 07:08:43 +00:00
Henner Zeller
79e6e25b51 o Add a Python graphics example. 2015-12-02 06:44:59 +00:00
Ian Foster
d7fd1fb561 o Added support for background colors on DrawText and DrawGlyph
o Make the versions with the background the default functions, keep
  the old versions merely for compatibility.
2015-12-01 22:30:55 -08:00
Henner Zeller
cd0a5e3fbf o Phython: Add Color constructor to directly give red/green/blue 2015-12-02 06:07:31 +00:00
Henner Zeller
1627ee7a14 o Make generated sources a separate dependency that someone can
explicitly invoke.
2015-07-27 18:14:23 -07:00
Saij
f293053346 o Improved directory structure of Python code.
o Use some new features in python examples.
2015-07-23 23:44:27 -07:00
Saij
e12a905f39 Compiled cython script 2015-07-06 09:52:34 +02:00
Saij
5dd099b4af Fixed some typos 2015-07-06 09:34:07 +02:00
Saij
f5e779ae05 Remove -j parameter (doesn't exist anymore)
Implemented SetBrightness function
Rewritten SetBrightness function (only first idea at the moment)
Use CIE1931 to modify brightness
Adding new function to python bindings
Fixed bug with CIE1931 lookup
- Adding brightness control to python library
- Adding new python sample for brightness control
Fixed bug without CIE1931 correction
Fixed typings
2015-07-06 09:28:12 +02:00
Henner Zeller
48c870a0dc o Include cython build instructions. 2015-07-01 00:27:45 -07:00
Henner Zeller
db1c8fab3e o Make python examples executable. 2015-07-01 03:33:05 +00:00
Henner Zeller
9f15f827b8 o %lx is better defined for off_t 2015-07-01 03:31:34 +00:00
Saij
7705b91251 Adding some samples 2015-06-30 19:51:41 -07:00
Saij
4c0f23506d Adding python bindings 2015-06-30 19:51:41 -07:00