Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
Urumbu
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Neil Gershenfeld
Urumbu
Commits
c0a54086
Commit
c0a54086
authored
Apr 13, 2021
by
Neil Gershenfeld
Browse files
Options
Downloads
Patches
Plain Diff
try sending buffer
parent
b8a71d7e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
serialtimetest/serialtimetest
+0
-0
0 additions, 0 deletions
serialtimetest/serialtimetest
serialtimetest/serialtimetest.c
+4
-0
4 additions, 0 deletions
serialtimetest/serialtimetest.c
with
4 additions
and
0 deletions
serialtimetest/serialtimetest
+
0
−
0
View file @
c0a54086
No preview for this file type
This diff is collapsed.
Click to expand it.
serialtimetest/serialtimetest.c
+
4
−
0
View file @
c0a54086
...
...
@@ -21,8 +21,11 @@
int
speed
,
port
;
unsigned
char
msg0
=
0
;
unsigned
char
msg1
=
255
;
unsigned
char
buf
[
4
]
=
{
0
,
100
,
200
,
255
};
//
void
timer_handler
(
int
signum
)
{
write
(
port
,
&
buf
,
4
);
/*
static int flag = 0;
if (flag == 0) {
flag = 1;
...
...
@@ -32,6 +35,7 @@ void timer_handler (int signum) {
flag = 0;
write(port,&msg1,1);
}
*/
}
//
int
main
(
int
argc
,
char
*
argv
[])
{
...
...
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