Correct various inconsequential typos
This commit is contained in:
1 parent
aa7bad45d3
commit
11b006e1d9
54 files changed
+127
-113
No files matched your search
@@ -144,7 +144,7 @@ void loop() {
|
||||
// Mono spaced font
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
|
||||
spr.loadFont(AA_FONT_MONO); // Mono spaced fonts have fixed intercharacter gaps to
|
||||
spr.loadFont(AA_FONT_MONO); // Mono spaced fonts have fixed inter-character gaps to
|
||||
// aid formatting
|
||||
int bnum = 1;
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ void setup(void) {
|
||||
|
||||
tft.setRotation(1);
|
||||
|
||||
spr.setColorDepth(16); // 16 bit colour needed to show antialiased fonts
|
||||
spr.setColorDepth(16); // 16 bit colour needed to show anti-aliased fonts
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
The library supports 16 bit unicode characters:
|
||||
https://en.wikipedia.org/wiki/Unicode_font
|
||||
|
||||
The characters supported are in the in the Basic Multilingal Plane:
|
||||
The characters supported are in the in the Basic Multilingual Plane:
|
||||
https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane
|
||||
|
||||
Make sure all the display driver and pin connenctions are correct by
|
||||
Make sure all the display driver and pin connections are correct by
|
||||
editing the User_Setup.h file in the TFT_eSPI library folder.
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
This sketch uses Smooth fonts stored in FLASH program memory. It uses a method
|
||||
for rendering anti-aliased fonts on a graded background. This is acheived by
|
||||
for rendering anti-aliased fonts on a graded background. This is achieved by
|
||||
telling the TFT_eSPI library the pixel color at each point on the screen. In
|
||||
this sketch a background colour gradient is drawn, the color of each pixel can
|
||||
therefore be determined by a function. The TFT does not need to support reading
|
||||
@@ -74,7 +74,7 @@ void setup(void) {
|
||||
|
||||
void loop() {
|
||||
|
||||
// Select a font size comensurate with screen size
|
||||
// Select a font size commensurate with screen size
|
||||
if (tft.width()>= 320)
|
||||
tft.loadFont(AA_FONT_LARGE);
|
||||
else
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
This sketch uses Smooth fonts stored in FLASH program memory. It uses a method
|
||||
for rendering anti-aliased fonts on an arbitrary background. This is acheived
|
||||
for rendering anti-aliased fonts on an arbitrary background. This is achieved
|
||||
by reading the pixel color at each point on the screen. The TFT must support
|
||||
reading the graphics RAM of the screen memory. This sketch has been tested with
|
||||
ILI9241 and ILI9481 serial and parallel screens.
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
String okay = "5µA"; // Good
|
||||
|
||||
This is because UTF-8 characters outside the basic Latin set occupy more than
|
||||
1 byte per character! A 16 bit unicode character occupies 3 bytes!
|
||||
1 byte per character! A 16 bit Unicode character occupies 3 bytes!
|
||||
|
||||
*/
|
||||
|
||||
|
||||
Reference in new issue
Block a user