Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이다은
/
raspberry
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
daeun
2021-04-23 15:18:11 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
540fa4c9feeaa8d64c54a25d3d3df1efd24a26b7
540fa4c9
1 parent
41960e97
a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
midterm4.c
midterm4.c
View file @
540fa4c
...
...
@@ -8,10 +8,8 @@ const int FndFont[10] = { 0x3F, 0x06, 0x5B, 0x4F, 0x66,
0x6D
,
0x7D
,
0x07
,
0x7F
,
0x67
};
const
int
Keypad
[
3
]
=
{
11
,
9
,
10
};
int
time
=
0
;
int
data
[]
=
{
0
,
0
,
0
,
0
,
0
,
0
};
int
state
=
2
;
void
FndSelect
(
int
position
){
int
i
;
for
(
i
=
0
;
i
<
6
;
i
++
){
...
...
@@ -53,8 +51,11 @@ void stop() {
}
void
reset
()
{
time
=
0
;
timer
();
int
i
;
for
(
i
=
0
;
i
<
6
;
i
++
)
data
[
i
]
=
0
;
state
=
2
;
timer
();
}
void
init
()
{
int
i
;
...
...
Please
register
or
login
to post a comment