Commit Graph

341 Commits

Author SHA1 Message Date
Limor "Ladyada" Fried
3a14516a76
Merge pull request #183 from theintel/master
Fixed error from fontconvert.c when compiling example sketch of adafruit OLED display
2018-10-17 12:50:36 -07:00
Muhammad Arifur Rahman
4a2757c893
Fixed error when compiling example sketch of adafruit OLED display
When compiling the example sketch for adafruit OLED display, the sketch refers to Adafruit_GFX and consequently to fontconvert.c
This file includes a header file named ft2build.h, which many of the compilers fail to find, resulting in compilation error.
Check the discussion on this issue: https://github.com/adafruit/Adafruit-GFX-Library/issues/88

Simply adding two lines solves the problem.
2018-10-18 01:28:59 +06:00
Romain Reignier
f188d80907 Add .h extension to Tiny3x3a2pt7b font file 2018-08-19 12:33:40 +02:00
Limor "Ladyada" Fried
5b672ff1c6
Update README.md 2018-08-12 17:01:16 -04:00
Limor "Ladyada" Fried
6e4ac5df70
Update library.properties 2018-08-12 16:58:34 -04:00
ladyada
ff8129f8d6 compilers dont like this 2018-08-12 15:45:35 -04:00
Phillip Burgess
a34c5947d9 SPITFT: don't USE_FAST_PINIO on WICED 2018-08-10 23:22:53 -07:00
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) 2018-07-17 21:48:54 -07:00
Phillip Burgess
1ea46e2f5c Fix for Teensy 3.x boards 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! 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 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 # 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. 2017-05-09 15:35:44 -07:00
Phillip Burgess
7589ecaf0f Extra-persnickety declarations in PROGMEM bitmap functions 2017-05-06 12:06:51 -07:00
Phillip Burgess
d0e78f9db1 Fixed text wrap & bounds issues, changed drawRGBBitmap PROGMEM behavior + added masking 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
Oleksandr Masliuchenko
5317dd77d4 fixed strict-alliasing warning 2017-04-22 16:00:23 +03:00