Commit Graph

1252 Commits

Author SHA1 Message Date
olikraus 201124b1ff issue #339 2017-09-23 22:07:40 +02:00
olikraus 0305e26981 issue #339 2017-09-23 19:43:02 +02:00
olikraus f6cb5219d3 issue #339 2017-09-23 19:42:12 +02:00
olikraus 986daecc4d issue #339 2017-09-23 11:51:36 +02:00
olikraus 8cb8872181 update 2017-09-23 11:44:16 +02:00
olikraus 39ff4474ba update 2017-09-23 11:31:33 +02:00
olikraus 1729bbd967 issue #339 2017-09-23 11:30:36 +02:00
olikraus 7ce5306229 issue #339 2017-09-23 09:29:01 +02:00
olikraus 342d4cffdc Alternative OLED 64x32 Device #361 2017-09-23 08:51:13 +02:00
olikraus 9833db01f3 issue #365 2017-09-21 23:48:38 +02:00
olikraus 2cd03e8cb4 2.18.2 2017-09-21 21:20:39 +02:00
olikraus 268fb0f395 issue #365, fixed contrast issue 2017-09-21 21:19:42 +02:00
olikraus 2bcaeb83e4 Merge branch 'master' of https://github.com/olikraus/u8g2 2017-09-21 20:10:47 +02:00
olikraus e95b6bd8e2 issue #365 2017-09-21 20:10:26 +02:00
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