Limor "Ladyada" Fried
b920674807
Merge pull request #195 from cmdrf/fontconvert-include-truetype-driver-h
...
Include FT_TRUETYPE_DRIVER_H in fontconvert.c
2019-01-04 14:03:39 -05:00
cmdrf
95c6ef33b0
Include FT_TRUETYPE_DRIVER_H in fontconvert.c
...
To fix error about TT_INTERPRETER_VERSION_35 being undefined on some FreeType versions.
2019-01-04 12:22:36 +01:00
Phillip Burgess
387d7800e6
Experimental SPI DMA support on SAMD (disabled by default)
2018-12-11 20:25:34 -08:00
Paint Your Dragon
5026484244
Merge pull request #174 from romainreignier/fix_tiny3x3
...
Add .h extension to Tiny3x3a2pt7b font file
2018-12-10 15:18:18 -08:00
Phillip Burgess
25612a9f03
Disable SPI DMA by default!
2018-12-10 15:02:33 -08:00
Phillip Burgess
f01e289fb7
Add ZeroDMA to Travis dependencies
2018-12-10 15:01:08 -08:00
Phillip Burgess
b74f3bf681
Remove some temp files, oops
2018-12-10 14:58:47 -08:00
Phillip Burgess
7b04012eaf
Move 0-length check to outside of DMA-specific code
2018-12-10 13:07:43 -08:00
Phillip Burgess
c21979066c
Similar change in writePixels()
2018-12-10 10:58:59 -08:00
Phillip Burgess
e1671798db
Fix ESP32 stuff
2018-12-09 21:35:49 -08:00
Phillip Burgess
b0b022d0c8
SPI DMA: avoid 0-byte transfers!
2018-12-09 21:30:51 -08:00
Phillip Burgess
e9221fb9ac
SPITFT - M4 SPI DMA fix
2018-12-09 20:59:02 -08:00
Phillip Burgess
12ced10eec
Still working on SPI DMA, still not good on M4
2018-12-09 15:30:22 -08:00
Phillip Burgess
54035091a3
Still working on DMA, has problems on M4
2018-12-07 17:46:39 -08:00
Phillip Burgess
3b6f7d32ae
DMA - actually use lastFillColor, doy
2018-12-07 11:05:45 -08:00
Phillip Burgess
555c82160a
Change DMA polling behavior.
2018-12-06 18:29:12 -08:00
Phillip Burgess
860cd24319
SPITFT: initial DMA support (disabled by default), very beta-y
2018-12-06 17:40:49 -08:00
Paint Your Dragon
75f81ac3e5
Merge pull request #191 from vonnieda/patch-1
...
Fix #103 by disabling subpixel rendering.
2018-11-30 18:29:25 -08:00
Jason von Nieda
fd68f69d20
Fix #103 by disabling subpixel rendering.
...
Newer versions of FreeType enable subpixel rendering by default. This makes fonts look terrible on displays that don't support it, like the LCDs this library is targeting. This change disables the subpixel rendering and improves the clarity of fonts.
See https://github.com/adafruit/Adafruit-GFX-Library/issues/103#issuecomment-443031001 for more information.
2018-11-29 17:35:18 -06:00
Phillip Burgess
85cc1d9508
Move 'writeCommand' and others from protected to pricate (eyes code and others are using these)
2018-11-29 11:59:07 -08:00
Phillip Burgess
03cf2d917e
Round rects; limit radius to 1/2 minor axis
2018-11-26 13:41:26 -08:00
Phillip Burgess
9bdc390458
Fixes for WICED Feather hardware SPI
2018-11-16 22:09:07 -08:00
Phillip Burgess
882290442a
Some incomplete WICED work; not bumping version # yet
2018-11-15 19:14:23 -08:00
Phillip Burgess
33158b3986
Allow GFX code to compile on WICED w/o SPIClass
2018-11-09 15:15:01 -08:00
Phillip Burgess
0521944f9f
Fix fillCircleHelper for SSD1306 INVERT mode
...
Function would previously draw certain line segments repeatedly; minor performance drain on most displays, but especially problematic for SSD1306's INVERT drawing mode.
2018-11-08 15:01:27 -08:00
ladyada
96f5acf6ee
auto-run latest
2018-11-03 17:47:29 -04:00
ladyada
f5e164945b
add support for selective SPI device!
2018-11-03 17:39:10 -04:00
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