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
adv:apireference [2023/12/22 20:18] – missed bolding one command lord_nightmareadv:apireference [2023/12/24 00:40] (current) – [Direct Pin Access] david.rysk
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 240: Line 242:
 **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**