Commit Graph

938 Commits

Author SHA1 Message Date
olikraus 6b7e437647 7x7x7 cube clock 2017-09-18 21:23:33 +02:00
olikraus 4f15e2dae3 Merge branch 'master' of https://github.com/olikraus/u8g2 2017-09-17 21:44:47 +02:00
olikraus b03f4f1b15 mkrzero clock 2017-09-17 21:05:09 +02:00
olikraus f1201651a0 mkr zero 2017-09-10 23:07:12 +02:00
olikraus 5410ecf006 shield 2017-09-10 15:29:50 +02:00
olikraus c147480b53 2.17.11 2017-09-10 10:48:20 +02:00
olikraus f54cdb27a5 issue #332, reactivate 8 bit mode 2017-09-10 09:45:47 +02:00
olikraus b7fcb93bdc towards 2.17 release 2017-09-09 17:57:35 +02:00
olikraus f5ae8d8f0d Merge pull request #351 from matthijskooijman/bitmap
Improvements to the new bitmap code
2017-09-09 17:37:25 +02:00
olikraus 38ccbe0640 issue #352: removed v2 for SSD1607, no improvement possible 2017-09-09 13:46:04 +02:00
olikraus 95c69ecb71 issue #318: extra 100ms for refresh msg 2017-09-09 11:12:24 +02:00
olikraus 807cf21765 issue #352: V2 device with new LUT added, but results ar not good, more investigation required 2017-09-09 11:07:33 +02:00
olikraus ea40ae02ff issue #352: ssd1607 code cleanup 2017-09-09 10:20:46 +02:00
olikraus ca6bf313e6 issue #352: ssd1607 code cleanup 2017-09-09 10:13:19 +02:00
olikraus 1252b2c176 issue #352: code structure cleanup 2017-09-09 10:04:42 +02:00
olikraus a17533c211 issue #352: power save 2017-09-09 09:48:41 +02:00
olikraus e1d4f30a20 issue #352: init seq cleanup 2017-09-09 09:35:35 +02:00
olikraus ebc4aa9ad3 issue #352: move lut to refresh msg 2017-09-09 09:34:03 +02:00
Matthijs Kooijman 4f926cba37 Issue #340, mark sys/tga as deprecated
This adds a README to sys/tga, recommending people to use sys/bitmap
instead.
2017-09-08 23:32:54 +02:00
Matthijs Kooijman 5cdd09dfa6 Issue #340, add cimg_annotate_screenshot example
CImg is a lightweight, header-only image processing library. The
makefile automatically makes a git clone of this library when building.

This example shows how to capture a screenshot using the bitmap device,
convert it to a CImg bitmap, scale it, add (in a higher resolution than
the original screenshot) annotations and write out a PNG file.

This is a reduced version of a bigger program, so it might be a bit more
complicated that needed just for the example.
2017-09-08 23:32:48 +02:00
Matthijs Kooijman 094a13c255 Issue #340, add bitmap/hello_world example
This example uses the Bitmap device to draw to an in-memory buffer
and writes the result to a TGA file. This can for example be used to
make screenshots of an application normally running on an Arduino.
2017-09-08 23:32:40 +02:00
Matthijs Kooijman c7ac9a7818 Issue #340, add U8G2_BITMAP to access Bitmap device from C++ 2017-09-08 23:32:35 +02:00
Matthijs Kooijman 4bfdfb5492 Issue #340, move bitmap code into sys/bitmap
It was previously in `sdl/bitmap`, but it was not really tied to SDL
(other than that one example from sdl used the bitmap code).
2017-09-08 23:32:27 +02:00
Matthijs Kooijman 8e3a2d627e Issue #340, initialize the Bitmap device using pixel dimensions instead of tiles
This allows creating bitmaps with sizes that are not multiples of 8x8
pixels. It seems the rest of u8g2 already supports this, as long as the
u8g2 and u8x8 buffers are rounded up to a multiple of 8x8 tiles.
2017-09-08 23:32:22 +02:00
Matthijs Kooijman ffe1d45183 Issue #340, store u8x8 and u8g2 buffers separately in u8x8_bitmap
A single malloc allocates space for both buffers. Previously,
u8x8_SetupBitmap would figure out where the u8g2 buffer lives based on
the u8x8 buffer, but this seems a bit fragile. Now, directly after
allocating, the pointer for both buffers are figured out and stored
separately.
2017-09-08 23:32:12 +02:00
Matthijs Kooijman f684246d24 Fix compilation without U8X8_USE_PINS
When compiling outside of the Arduino environmen, U8X8_USE_PINS is not
defined. However, some parts of the C++ code outside of the
U8X8_USE_PINS guards depended on code inside the guards, breaking
compilation. By adding some extra guards, compilation of the C++ code
now also works outside of the Arduino environment.
2017-09-08 23:32:00 +02:00
olikraus cb48a03ed2 Merge branch 'master' of https://github.com/olikraus/u8g2 2017-09-08 19:29:40 +02:00
olikraus 472c3553c5 Merge pull request #346 from gnlcosta/master
Declared "weak" (only for GCC) the function u8x8_GetMenuEvent
2017-09-08 19:29:07 +02:00
olikraus d5ea47a2f3 2.17.10, issue #318 and #347 2017-09-08 11:37:53 +02:00
olikraus f57509c846 issue #347, code cleanup 2017-09-08 09:27:15 +02:00
olikraus 38d0e317bf issue #347, code cleanup, LUT moved from init to refresh 2017-09-08 09:19:41 +02:00
olikraus 86824d6208 issue #347, new init procedure 2017-09-08 09:13:10 +02:00
olikraus ad9e2d8187 issue #347, 0x0c4 --> 0x004 2017-09-08 09:11:58 +02:00
olikraus 0cf990e4f8 issue #347, LUT transfer during refresh 2017-09-08 09:10:30 +02:00
olikraus 60e7876941 issue #347, added powersave modes 2017-09-08 09:09:09 +02:00
olikraus a3738a3909 issue #347 2017-09-08 09:05:44 +02:00
olikraus 005a5e4754 issue #347 2017-09-08 08:29:33 +02:00
olikraus 9702a4f4a9 issue #347 2017-09-07 22:58:24 +02:00
olikraus 95a3cf2311 issue #347 2017-09-07 14:14:01 +02:00
olikraus 85d1ad761c il3820 #347 2017-09-07 13:40:47 +02:00
olikraus 04af869951 t0 bdf fonts 2017-09-06 23:17:28 +02:00
olikraus c93142939c Merge branch 'master' of https://github.com/olikraus/u8g2 2017-09-06 23:15:55 +02:00
olikraus e8764381a7 2.17.9 2017-09-06 17:21:06 +02:00
olikraus d63e42fe7a issue #318 2017-09-06 17:20:05 +02:00
olikraus 865fa75176 lut editor, fixed fade out problem, issue #318 2017-09-06 10:43:23 +02:00
olikraus 51b933e502 update 2017-09-05 16:54:21 +02:00
olikraus 1b6c3e8792 sh1106 button proto shield 2017-09-05 16:33:22 +02:00
olikraus d7e7b1039f SH1106 I2C 2017-09-05 15:28:28 +02:00
Gianluca Costa f076e96750 Declared "weak" (only for GCC) the function u8x8_GetMenuEvent 2017-09-03 18:44:22 +02:00
olikraus cf9f713433 update 2017-08-28 15:07:20 +02:00