Welcome to mirror list, hosted at ThFree Co, Russian Federation.

M021.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e23fec19d59b6451d3bd9df0df75ca168c24e1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
tag: m0021
title: Init SD card
brief: Attempt to detect an SD card in the slot.
author: thinkyhead

requires: SDSUPPORT
group: sdcard

codes: [ M21 ]

notes: Requires [`SDSUPPORT`](/docs/configuration/configuration.html#sd-card)

parameters:

examples:
  -
    pre: Init card with success
    code: |
      > M21
      SD card ok
      ok
  -
    pre: Init card with failure
    code: |
      > M21
      No SD card
      ok

---

Use this command to mount the last-selected SD card or thumb drive.