Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pousseseringue-arduino
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
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
FabLAAS
PousseSeringue
pousseseringue-arduino
Commits
f10cf7fd
Commit
f10cf7fd
authored
1 year ago
by
Malaurie Bernard
Browse files
Options
Downloads
Patches
Plain Diff
Add speed definition to be able to use an emulator
parent
562e4ecd
No related branches found
No related tags found
1 merge request
!17
Malaurie's work on UI + CLI interface + AccelStepper interface
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
motor.h
+1
-0
1 addition, 0 deletions
motor.h
with
1 addition
and
0 deletions
motor.h
+
1
−
0
View file @
f10cf7fd
...
@@ -15,6 +15,7 @@ public:
...
@@ -15,6 +15,7 @@ public:
float
maxSpeed
()
{
return
10
;
}
float
maxSpeed
()
{
return
10
;
}
float
acceleration
()
{
return
5
;
}
float
acceleration
()
{
return
5
;
}
long
distanceToGo
()
{
return
0
;
}
long
distanceToGo
()
{
return
0
;
}
float
speed
()
{
return
10
;}
};
};
#else
#else
#include
<AccelStepper.h>
#include
<AccelStepper.h>
...
...
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