233 Commits

Author SHA1 Message Date
Limor "Ladyada" Fried
f379d7070c
Merge pull request #130 from vortigont/dev
Added String overload to getTextBounds() #90
2018-08-10 08:37:32 -07:00
Limor "Ladyada" Fried
ac82adb99c
Merge pull request #173 from veekoo/fixed_some_warnings
Added a cast to int_16 since height and width are uint_16s.
2018-08-09 07:09:37 -07:00
Ville Karaila
675c972170 Added a cast to int_16 since height and width are uint_16s.
Note: Consider harmonizing types since uints might spill if someone
invents a 64k wide or high oled.. Jk. Changing h and w might be nice
tho, but keeping changes at minimum here.
2018-08-08 16:53:58 -07:00
Emil Muratov
15344e4ff9 Add doxygen for getTextBounds()
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2018-08-09 00:06:59 +03:00
Emil Muratov
05df41d963 Added String overload to getTextBounds() #90 2018-08-06 17:25:57 +03:00
Limor "Ladyada" Fried
1e6251e367
Merge pull request #169 from tablatronix/esp8266-undef-USE_FAST_PINIO
esp use_fast_pinio undef
2018-07-27 10:07:24 -07:00
Shawn A
6e9ad92b95 esp use_faast_pinio undef
This was never an issue until include macro was moved to below the definition, masked before 1.2.6
2018-07-27 11:55:29 -05:00
Limor "Ladyada" Fried
b9dfb41bc8
Merge pull request #168 from KurtE/build_on_opencm_opencr
Fix compile errors USE_FAST_PINIO + compile on Robotis boards
2018-07-26 10:43:23 -07:00
Kurt Eckhardt
a21e561673 Fix compile errors USE_FAST_PINIO + compile on Robotis boards
There were a couple of compile issus when you are trying to use a different board which requires you not to use fast pinio.  In particular Robotis OpenCM9.04 as well as the OpenCR 1.0 boards.

They are STM32 based __arm__ boards but do not have the support for setting/clearing IO pins using memory mapped access to one location.

First thing I ran into was the code in the #else casue was using
#undefine
which is not valid, should be #undef

Second issue is once this define was undefined, the #defines for SPI_CS_HIGH
and SPI_CS_LOW did not compile as there was no ; at the end of the digitalWrite.
Probably worked earlier until somone put this statement into a {} pair
2018-07-26 10:36:31 -07:00
Phillip Burgess
7be0b493c3 Allow obscure-but-needed case of no TFT chip select (-1) 1.2.7 2018-07-17 21:48:54 -07:00
Phillip Burgess
1ea46e2f5c Fix for Teensy 3.x boards 1.2.6 2018-07-17 18:34:21 -07:00
ladyada
b2cc77a13b woops accidentally slowed down bitbang SPI 2018-07-14 23:05:47 -04:00
ladyada
d5d6804100 guards! 1.2.5 2018-07-14 17:04:11 -04:00
ladyada
7f2d11709c fix inlineing complaints for writepixel 2018-07-14 16:57:42 -04:00
ladyada
9beb188013 bump again 2018-07-14 16:02:01 -04:00
ladyada
cf1e1b0521 woops turns out some SPI displays dont use this format, so make it virtual 2018-07-14 16:01:33 -04:00
ladyada
f573e032cd bump for release 1.2.4 2018-07-14 15:43:40 -04:00
ladyada
ebb199c1e4 fixed fastio for esp, undef for anything else 2018-07-14 15:39:11 -04:00
ladyada
640e5a06e5 fix color565 2018-07-14 15:30:31 -04:00
ladyada
17f7f3ca50 add mocktest 2018-07-14 15:27:47 -04:00
ladyada
5614790a99 *falls over* 2018-07-14 15:21:57 -04:00
ladyada
df54898306 more doxy, add a travis 2018-07-14 14:24:10 -04:00
ladyada
ed59d3ea4a more doxy 2018-07-14 13:05:06 -04:00
ladyada
836a499055 doxy gfxfont 2018-07-14 12:37:42 -04:00
ladyada
4de9ba8f14 doxy gitignore 2018-07-14 12:30:23 -04:00
ladyada
0ae3442ac8 add travistag 2018-07-14 12:27:03 -04:00
ladyada
57860992d4 support optimized bitbang spi 2018-07-14 02:08:49 -04:00
ladyada
0d06686d45 move invert display and setaddrwindow to superclass 2018-07-14 02:02:02 -04:00
ladyada
7667d32f75 some inlining 2018-05-28 23:53:59 -04:00
Phillip Burgess
7d73ae8214 Disable SPITFT code if using ATtiny85, update version # v1.2.3 2018-01-08 11:59:27 -08:00
Phillip Burgess
1e0d64f11a Add roadmap notes to README 2017-12-26 20:08:21 -08:00
ladyada
d4ea436155 added generic SPI TFT wrapper 2017-09-25 22:35:26 -04:00
Paint Your Dragon
b8ca7d16ba Merge pull request #126 from rbultman/master
Set yAdvance to glyph height if face height is zero
2017-05-25 20:32:10 -07:00
Rob Bultman
ceca9ac409 Set yAdvance to glyph height if face height is zero. 2017-05-23 15:56:51 -04:00
Rob Bultman
bffb1aae70 Adding gitignore 2017-05-23 15:55:58 -04:00
Paint Your Dragon
3cd8e198f2 Merge pull request #124 from eadmaster/patch-1
Create Tiny3x3a2pt7b
2017-05-20 21:35:41 -07:00
Andrea
00768d5331 Create Tiny3x3a2pt7b
Smallest tiny font i could find.
Allows showing 3+ lines of text on a 32x16 matrix (not very readable).
2017-05-17 10:59:58 +02:00
Phillip Burgess
07f8f65e40 Back off on the PROGMEM declarations; const is sufficient. 1.2.2 2017-05-09 15:35:44 -07:00
Phillip Burgess
7589ecaf0f Extra-persnickety declarations in PROGMEM bitmap functions 1.2.1 2017-05-06 12:06:51 -07:00
Phillip Burgess
d0e78f9db1 Fixed text wrap & bounds issues, changed drawRGBBitmap PROGMEM behavior + added masking 1.2.0 2017-05-05 19:57:52 -07:00
Phillip Burgess
868d3ed67e Add 8-bit canvas type, because reasons. Also some 1- and 16-bit canvas cleanup. 2017-05-04 22:06:09 -07:00
Paint Your Dragon
4b1a8a6850 Merge pull request #39 from marcmerlin/drawrgb
Added support for multicolor pixmaps in drawRGBBitmap.
2017-05-04 21:34:13 -07:00
Marc MERLIN
aad430de1b Allow for drawing bitmaps in RAM (not in progmem). 2017-04-06 12:08:10 -07:00
Phillip Burgess
cb95e0307b drawLine(): sort inputs on horizontal/vertical lines
C'mon guys, this is Graphics 101 stuff
1.1.9
2017-04-05 09:03:34 -07:00
Phillip Burgess
7be06d3b3b Added two tiny fonts 1.1.8 2017-03-20 19:36:08 -07:00
ladyada
d93fb2254f @me-no-dev refactor! 1.1.7 2017-03-17 20:47:54 -04:00
ladyada
44568a85f2 Merge branch 'master' of github.com:adafruit/Adafruit-GFX-Library
Conflicts:
	Adafruit_GFX.cpp
2017-03-17 20:44:20 -04:00
ladyada
de513d7a90 Merge branch 'espressif-master' 2017-03-17 20:40:35 -04:00
Phillip Burgess
b8f2200766 Handle larger button dimensions, add initButtonUL() for buttons w/upper-left coord v1.1.6 2017-03-07 10:24:06 -08:00
me-no-dev
4290f0b161 Implement transaction based drawing
With using transactions to draw, we save huge amount of time in pin
changing and SPI setup. This new model, together with the updated
ILI9341 lib give a much better performance.
2017-02-23 03:11:09 +02:00