machines/systems/flexibot/docs/marlin/_gcode/M021.md
2025-03-11 23:32:39 +01:00

33 lines
503 B
Markdown

---
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.