Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
esp8266-oled-ssd1306
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
c3pb
esp8266-oled-ssd1306
Commits
f1e0e85c
Commit
f1e0e85c
authored
8 years ago
by
0xPIT
Browse files
Options
Downloads
Patches
Plain Diff
make font type unsigned
parent
cb945671
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
OLEDDisplay.h
+3
-3
3 additions, 3 deletions
OLEDDisplay.h
with
3 additions
and
3 deletions
OLEDDisplay.h
+
3
−
3
View file @
f1e0e85c
...
...
@@ -150,7 +150,7 @@ class OLEDDisplay : public Print {
// Draw a lin vertically
void
drawVerticalLine
(
int16_t
x
,
int16_t
y
,
int16_t
length
);
// Draws a rounded progress bar with the outer dimensions given by width and height. Progress is
// Draws a rounded progress bar with the outer dimensions given by width and height. Progress is
// a unsigned byte value between 0 and 100
void
drawProgressBar
(
uint16_t
x
,
uint16_t
y
,
uint16_t
width
,
uint16_t
height
,
uint8_t
progress
);
...
...
@@ -184,7 +184,7 @@ class OLEDDisplay : public Print {
// Sets the current font. Available default fonts
// ArialMT_Plain_10, ArialMT_Plain_16, ArialMT_Plain_24
void
setFont
(
const
char
*
fontData
);
void
setFont
(
const
unsigned
char
*
fontData
);
/* Display functions */
...
...
@@ -237,7 +237,7 @@ class OLEDDisplay : public Print {
OLEDDISPLAY_TEXT_ALIGNMENT
textAlignment
=
TEXT_ALIGN_LEFT
;
OLEDDISPLAY_COLOR
color
=
WHITE
;
const
char
*
fontData
=
ArialMT_Plain_10
;
const
unsigned
char
*
fontData
=
ArialMT_Plain_10
;
// State values for logBuffer
uint16_t
logBufferSize
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment