Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
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
Service Desk
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
Jonas Leder
marlin-anet-a8
Commits
8ac5e569
Commit
8ac5e569
authored
9 years ago
by
AndySze
Committed by
Richard Wackerbarth
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fixed some format problems and cleaned code
parent
eef595aa
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/pins_MEGACONTROLLER.h
+100
-120
100 additions, 120 deletions
Marlin/pins_MEGACONTROLLER.h
with
100 additions
and
120 deletions
Marlin/pins_MEGACONTROLLER.h
+
100
−
120
View file @
8ac5e569
...
...
@@ -6,28 +6,20 @@
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif
#if EXTRUDERS >
3
#error
RUMBA
supports up to
3
extruders. Comment this line to keep going.
#if EXTRUDERS >
2
#error
Mega Controller
supports up to
2
extruders. Comment this line to keep going.
#endif
#define X_STEP_PIN 62//A8
#define X_DIR_PIN 63//A9
#define X_ENABLE_PIN 61//A7
#ifdef DELTA
#define X_MIN_PIN -1
#else
#define X_MIN_PIN 43
#endif //DELTA
#define X_MAX_PIN 42 //2 //Max endstops default to disabled "-1", set to commented value to enable.
#define X_MAX_PIN 42 //Max endstops default to disabled "-1", set to commented value to enable.
#define Y_STEP_PIN 65 // A11
#define Y_DIR_PIN 66 // A12
#define Y_ENABLE_PIN 64//A10
#ifdef DELTA
#define Y_MIN_PIN -1
#else
#define Y_MIN_PIN 38
#endif //DELTA
#define Y_MAX_PIN 41 //15
#define Y_MAX_PIN 41
#define Z_STEP_PIN 68 // A14
#define Z_DIR_PIN 69 // A15
...
...
@@ -87,16 +79,14 @@
#if NUM_SERVOS > 1
#define SERVO1_PIN 31
#endif
#if NUM_SERVOS > 2
#define SERVO2_PIN 32
#endif
#if NUM_SERVOS > 3
#define SERVO3_PIN 33
#endif
#endif
#endif
#endif// NUM_SERVOS
#ifdef MINIPANEL
#define BEEPER 46
...
...
@@ -120,13 +110,3 @@
#define SDCARDDETECT 49
#endif //Minipanel
//encoder rotation values
#define encrot0 0
#define encrot1 2
#define encrot2 3
#define encrot3 1
#define SERVO0_PIN 5
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