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
f973ff49
Commit
f973ff49
authored
6 years ago
by
Bob-the-Kuhn
Committed by
Scott Lahteine
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[2.0.x] MKS SBASE - Separate SD_DETECT for LCD and on-board SD cards (#10557)
parent
5ac226aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/src/config/examples/Mks/Sbase/000-README_RepRap_Discount_Full_Graphic_Smart_Controller.txt
+11
-0
11 additions, 0 deletions
...-README_RepRap_Discount_Full_Graphic_Smart_Controller.txt
Marlin/src/pins/pins_MKS_SBASE.h
+13
-2
13 additions, 2 deletions
Marlin/src/pins/pins_MKS_SBASE.h
with
24 additions
and
2 deletions
Marlin/src/config/examples/Mks/Sbase/000-README_RepRap_Discount_Full_Graphic_Smart_Controller.txt
+
11
−
0
View file @
f973ff49
...
...
@@ -25,3 +25,14 @@ An octopus cable something like the Adafruit 1199 will simply the construction o
Adafruit 10-pin IDC Socket Rainbow Breakout Cable [1199]
https://www.adafruit.com/product/1199
/////////////////////////////////////////////////////////////////////
27 APR 2018
If you also want a functional SD_DETECT_PIN then you'll need to also move the following pin:
used to go to P0.27 to J8-5
if you decide to use a different pin then the pins_MKS_SBASE.h file will need to be modified.
This diff is collapsed.
Click to expand it.
Marlin/src/pins/pins_MKS_SBASE.h
+
13
−
2
View file @
f973ff49
...
...
@@ -158,7 +158,6 @@
#define BTN_ENC P1_30 // EXP1.2
#define BTN_EN1 P3_26 // EXP2.5
#define BTN_EN2 P3_25 // EXP2.3
#define SD_DETECT_PIN P0_27 // EXP2.7
#define LCD_PINS_RS P0_16 // EXP1.4
#define LCD_SDSS P0_28 // EXP2.4
#define LCD_PINS_ENABLE P0_18 // EXP1.3
...
...
@@ -194,9 +193,21 @@
#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.5)
#define SS_PIN P0_28
#define SD_DETECT_PIN P0_27
#define SDSS P0_06
/**
* P0.27 is on EXP2 and the on-board SD card's socket. That means it can't be
* used as the SD_DETECT for the LCD's SD card.
*
* The best solution is to use the custom cable to connect the LCD's SD_DETECT
* to a pin NOT on EXP2.
*
* If you can't find a pin to use for the LCD's SD_DETECT then comment out
* SD_DETECT_PIN entirely and remove that wire from the the custom cable.
*/
#define SD_DETECT_PIN P2_11 // J8-5 (moved from EXP2 P0.27)
/**
* PWMs
*
...
...
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