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
5ed1bb67
Unverified
Commit
5ed1bb67
authored
Dec 16, 2017
by
Bodmer
Committed by
GitHub
Dec 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow larger images
parent
0dacb156
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/480 x 320/Flash_Bitmap/Flash_Bitmap.ino
examples/480 x 320/Flash_Bitmap/Flash_Bitmap.ino
+1
-1
No files found.
examples/480 x 320/Flash_Bitmap/Flash_Bitmap.ino
View file @
5ed1bb67
...
@@ -83,7 +83,7 @@ void loop()
...
@@ -83,7 +83,7 @@ void loop()
// Draw array "icon" of defined width and height at coordinate x,y
// Draw array "icon" of defined width and height at coordinate x,y
// Maximum icon size is 255x255 pixels to avoid integer overflow
// Maximum icon size is 255x255 pixels to avoid integer overflow
void
drawIcon
(
const
unsigned
short
*
icon
,
int16_t
x
,
int16_t
y
,
int8_t
width
,
int8
_t
height
)
{
void
drawIcon
(
const
unsigned
short
*
icon
,
int16_t
x
,
int16_t
y
,
uint16_t
width
,
uint16
_t
height
)
{
uint16_t
pix_buffer
[
BUFF_SIZE
];
// Pixel buffer (16 bits per pixel)
uint16_t
pix_buffer
[
BUFF_SIZE
];
// Pixel buffer (16 bits per pixel)
...
...
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