Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Serial Communication Arduino
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GRASP
Serial Communication Arduino
Commits
a3ab21b6
Commit
a3ab21b6
authored
3 years ago
by
Ilona Szczot
Browse files
Options
Downloads
Patches
Plain Diff
Modified python script
parent
70e110a0
Branches
main
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
send2arduino.py
+2
-2
2 additions, 2 deletions
send2arduino.py
with
2 additions
and
2 deletions
send2arduino.py
+
2
−
2
View file @
a3ab21b6
...
@@ -2,10 +2,10 @@ import serial
...
@@ -2,10 +2,10 @@ import serial
import
time
import
time
# max 1024
# max 1024
TEST_VALUE
=
10
00
TEST_VALUE
=
2
00
# a very low value to pull in an unnoticable way
# a very low value to pull in an unnoticable way
REST_VALUE
=
1
REST_VALUE
=
1
SLEEP_SEC
=
5
SLEEP_SEC
=
3
# com port for arduiono usb
# com port for arduiono usb
COM
=
"
COM4
"
COM
=
"
COM4
"
...
...
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