Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
unl-ece-keychain
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
pscalise2
unl-ece-keychain
Commits
a56076a9
Commit
a56076a9
authored
3 months ago
by
paulscalise1
Browse files
Options
Downloads
Patches
Plain Diff
cleaned up code
parent
4749e157
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
inc/display.h
+5
-5
5 additions, 5 deletions
inc/display.h
inc/frames.h
+39
-39
39 additions, 39 deletions
inc/frames.h
src/main.c
+2
-2
2 additions, 2 deletions
src/main.c
with
46 additions
and
46 deletions
inc/display.h
+
5
−
5
View file @
a56076a9
...
...
@@ -49,11 +49,11 @@
#define SSD1306_CMD_COMH_DESLECT_LEVEL 0xDB
/**< command comh deslect level */
#define SSD1306_CMD_NOP 0xE3
/**< command nop */
const
uint8_t
*
flag
[
20
]
=
{
Frame0
,
Frame1
,
Frame2
,
Frame3
,
Frame4
,
Frame5
,
Frame6
,
Frame7
,
Frame8
,
Frame9
,
Frame
10
,
\
Frame11
,
Frame12
,
Frame13
,
Frame14
,
Frame15
,
Frame16
,
Frame17
,
Frame18
,
Frame
19
};
const
uint8_t
*
gif
[
18
]
=
{
gif1
,
gif2
,
gif3
,
gif4
,
gif5
,
gif6
,
gif7
,
gif8
,
gif9
,
gif
10
,
\
gif11
,
gif12
,
gif13
,
gif14
,
gif15
,
gif16
,
gif17
,
gif
18
};
const
uint8_t
*
pointers
[
9
]
=
{
gbr0
,
gbr1
,
gbr2
,
gbr3
,
gbr4
,
gbr5
,
gbr6
,
gbr7
,
gbr8
};
const
uint8_t
*
flag
[
20
]
=
{
flag0
,
flag1
,
flag2
,
flag3
,
flag4
,
flag5
,
flag6
,
flag7
,
flag8
,
flag9
,
flag
10
,
\
flag11
,
flag12
,
flag13
,
flag14
,
flag15
,
flag16
,
flag17
,
flag18
,
flag
19
};
const
uint8_t
*
herbie
[
18
]
=
{
herbie1
,
herbie2
,
herbie3
,
herbie4
,
herbie5
,
herbie6
,
herbie7
,
herbie8
,
herbie9
,
herbie
10
,
\
herbie11
,
herbie12
,
herbie13
,
herbie14
,
herbie15
,
herbie16
,
herbie17
,
herbie
18
};
const
uint8_t
*
gbr
[
9
]
=
{
gbr0
,
gbr1
,
gbr2
,
gbr3
,
gbr4
,
gbr5
,
gbr6
,
gbr7
,
gbr8
};
uint8_t
init1
[
5
]
=
{
0x00
,
0xAE
,
0xD5
,
0x80
,
0xA8
};
uint8_t
init2
[
2
]
=
{
0x00
,
0x3F
};
...
...
This diff is collapsed.
Click to expand it.
inc/frames.h
+
39
−
39
View file @
a56076a9
This diff is collapsed.
Click to expand it.
src/main.c
+
2
−
2
View file @
a56076a9
...
...
@@ -414,11 +414,11 @@ void EXTI4_15_IRQHandler(void)
}
void
Display_UNL_Info
(
void
){
displayArray
(
gif
,
4
,
18
,
0
,
63
);
displayArray
(
herbie
,
4
,
18
,
0
,
63
);
ssd1306_bitmap
(
dept
);
LPTIM_Delay
(
4000
);
displayArray
(
flag
,
2
,
20
,
0
,
10
);
displayArray
(
pointers
,
2
,
8
,
1
,
7
);
displayArray
(
gbr
,
2
,
8
,
1
,
7
);
///ssd1306_bitmap((const uint8_t *)dept);
//LPTIM_Delay(4000);
//ssd1306_bitmap((const uint8_t *)apply_qr);
...
...
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