Commit Graph

576 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 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 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 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 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
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 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 c93142939c Merge branch 'master' of https://github.com/olikraus/u8g2 2017-09-06 23:15:55 +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
olikraus cf9f713433 update 2017-08-28 15:07:20 +02:00
olikraus 8d1250c038 update 2017-08-28 14:46:42 +02:00
olikraus 136d5f9c0b update 2017-08-28 12:52:25 +02:00
olikraus 807d3857ac lut edit 2017-08-28 08:53:30 +02:00
olikraus 2b8833bbba update 2017-08-27 23:27:26 +02:00
olikraus a551ff3dff update 2017-08-27 22:20:34 +02:00
olikraus 134185e569 update for sdl gpio key detection 2017-08-27 20:25:57 +02:00
olikraus cdab52552b 2.17.8, issue #318 2017-08-27 09:47:42 +02:00
olikraus a8aed8b524 issue #318 2017-08-26 18:09:18 +02:00
olikraus 16d98e795d added dummy args (for now), issue #340 2017-08-25 23:12:52 +02:00
olikraus 2bfa997153 issue #340, sdl test/sdl examples 2017-08-25 21:39:37 +02:00
olikraus 6cac79261e issue #340, fixed syntax errors 2017-08-25 21:15:20 +02:00
olikraus 6fe6c02975 issue #340 2017-08-25 19:44:04 +02:00
olikraus bf141f4906 issue #340 2017-08-25 19:20:40 +02:00
olikraus 2e6d197ffa mkr zero shield 2017-08-21 23:14:58 +02:00
olikraus e1c5ff83a5 Merge branch 'master' of https://github.com/olikraus/u8g2 2017-08-20 13:18:20 +02:00
olikraus 4d38a18017 clock 2017-08-20 13:18:03 +02:00
olikraus 7f60b8872e improved debounce #388 2017-08-20 12:46:35 +02:00
olikraus 1b8aa562a3 update 2017-08-16 09:05:59 +02:00
olikraus c675c4bd4c mkr zero clock 2017-08-16 08:57:57 +02:00
olikraus c1b1aa6676 issue #333 2017-08-14 21:04:49 +02:00
olikraus ea5bfb129d mkr zero fps value for SSD1306 with i2c 2017-08-14 14:52:36 +02:00