Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
blimp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mehtank
blimp
Commits
6d2efe04
Commit
6d2efe04
authored
4 years ago
by
mehtank
Browse files
Options
Downloads
Patches
Plain Diff
fixed servos
parent
a600908c
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
blimp.ino
+3
-1
3 additions, 1 deletion
blimp.ino
with
3 additions
and
1 deletion
blimp.ino
+
3
−
1
View file @
6d2efe04
...
...
@@ -57,6 +57,8 @@ void setupPins() {
servo_cam
.
attach
(
SERVO_CAM
);
servo_dir
.
attach
(
SERVO_DIR
);
servo_cam
.
write
(
90
);
servo_cam
.
write
(
90
);
DEBUG
(
"Setup pins"
);
}
...
...
@@ -79,7 +81,7 @@ void setmotors(const uint8_t payload[9]) {
analogWrite
(
HEIGHT_PWM
,
payload
[
7
]
<<
2
);
// Camera
servo_
dir
.
write
(
payload
[
8
]);
servo_
cam
.
write
(
payload
[
8
]);
}
void
stop
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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