meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
adv:apireference [2023/12/22 20:17] – document the force commands lord_nightmareadv:apireference [2024/09/28 20:56] (current) david.rysk
Line 167: Line 167:
 **sync:?** – returns “+” or “-” depending on whether sync is turned on **sync:?** – returns “+” or “-” depending on whether sync is turned on
  
-**sync:?speed** – will return the speed of the drive based on sync signal or index+**sync:?speed** – will repeatedly return the speed of the drive based on sync signal or index. Send text (e.g. **X**) to terminate.
  
 **sync:?stable** –  runs a lengthy test on the sync sensor to ensure that the sync signal is steady **sync:?stable** –  runs a lengthy test on the sync sensor to ensure that the sync signal is steady
Line 231: Line 231:
  
 ==== Direct Pin Access ==== ==== Direct Pin Access ====
 +
 +These are primarily meant for hardware troubleshooting and are subject to change.
  
 **pins:connect** – enables the '245 **pins:connect** – enables the '245
Line 236: Line 238:
 **pins:disconnect** – disables the '245 **pins:disconnect** – disables the '245
  
-**pins:?map** – prints the current pin map (dependent on drive kind, see ?kind)+**pins:?map** – prints the current pin map (dependent on drive kind, see **?kind**)
  
 **n** below is the pin number output from the **pins:?map** command. **n** below is the pin number output from the **pins:?map** command.
  
-**pins:i n** – sets pin n to input mode+**pins:i n** – sets pin **n** to input mode
  
-**pins:o n** – sets pin n to output mode+**pins:o n** – sets pin **n** to output mode
  
-**pins:r n** – returns “+” or “-” depending on the state of pin n+**pins:r n** – returns “+” or “-” depending on the state of pin **n**
  
-**pins:wh n** – writes logic level high to pin n+**pins:wh n** – writes logic level high to pin **n**
  
-**pins:wl n** – writes logic level low to pin n+**pins:wl n** – writes logic level low to pin **n**