Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
m1234 [2017/01/25 16:21]
arthur
m1234 [2017/01/25 18:55]
arthur
Line 34: Line 34:
 The command is used as such :  The command is used as such : 
  
-[[code]]+<code>
 M20  [[S]|[P]] M20  [[S]|[P]]
-[[/code]]+</code>
  
 **What it does:** output contents of SD card to serial port while using [[S]|to define the format and [P]] defines the directory to list **What it does:** output contents of SD card to serial port while using [[S]|to define the format and [P]] defines the directory to list
Line 43: Line 43:
  
 ||~ Parameter ||~ Usage ||~ Example || ||~ Parameter ||~ Usage ||~ Example ||
-|| {{S}} || Style: Defines the format used to present the output || M20 S0 || +|| <kbd>S</​kbd> ​|| Style: Defines the format used to present the output || M20 S0 || 
-|| {{P}} || Directory: Defines the directory that will be listed ​ || M20 ||+|| <kbd>P</​kbd> ​|| Directory: Defines the directory that will be listed ​ || M20 ||
  
 === Smoothie supported parameter values === Smoothie supported parameter values
  
-The {{S}} parameter when used with Smoothie supports Style 0 only, which is the default. If you do not include [[S]|it will assume [S0]] +The <kbd>S</​kbd> ​parameter when used with Smoothie supports Style 0 only, which is the default. If you do not include [[S]|it will assume [S0]] 
-The {{P}} parameter is not supported by Smoothie. Smoothie defaults to the SDcards root directory.+The <kbd>P</​kbd> ​parameter is not supported by Smoothie. Smoothie defaults to the SDcards root directory.
  
 If your SDcard contents was: If your SDcard contents was:
Line 59: Line 59:
 This means if you command :  This means if you command : 
  
-[[code]]+<code>
 M0 S0  M0 S0 
-[[/code]]+</code>
 or  or 
-[[code]]+<code>
 M0 S0 P1  M0 S0 P1 
-[[/code]]+</code>
 or or
-[[code]]+<code>
 M0 S1 P1  M0 S1 P1 
-[[/code]]+</code>
 or or
-[[code]]+<code>
 M0 P2  M0 P2 
-[[/code]]+</code>
  
  ​....they will all print the following to the connected console:  ​....they will all print the following to the connected console: