Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TFT_eSPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
TFT_eSPI
Commits
33d93131
Unverified
Commit
33d93131
authored
Jan 31, 2019
by
Bodmer
Committed by
GitHub
Jan 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for ESP8266
ESP32 printf() can handle String type but ESP8266 cannot.
parent
caef4519
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/Test and diagnostics/Read_User_Setup/Read_User_Setup.ino
.../Test and diagnostics/Read_User_Setup/Read_User_Setup.ino
+2
-2
No files found.
examples/Test and diagnostics/Read_User_Setup/Read_User_Setup.ino
View file @
33d93131
...
@@ -41,8 +41,8 @@ void loop(void) {
...
@@ -41,8 +41,8 @@ void loop(void) {
tft
.
getSetup
(
user
);
//
tft
.
getSetup
(
user
);
//
Serial
.
printf
(
"
\n
[code]
\n
"
);
Serial
.
printf
(
"
\n
[code]
\n
"
);
String
ver
=
user
.
version
;
Serial
.
print
f
(
"TFT_eSPI ver = "
+
user
.
version
)
+
"
\n
"
);
Serial
.
print
ln
(
"TFT_eSPI ver = "
+
ver
+
"
\n
"
);
Serial
.
printf
(
"Processor = ESP%i
\n
"
,
user
.
esp
,
HEX
);
Serial
.
printf
(
"Processor = ESP%i
\n
"
,
user
.
esp
,
HEX
);
Serial
.
printf
(
"Frequency = %i MHz
\n
"
,
ESP
.
getCpuFreqMHz
());
Serial
.
printf
(
"Frequency = %i MHz
\n
"
,
ESP
.
getCpuFreqMHz
());
#ifdef ESP8266
#ifdef ESP8266
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment