Skip to content
Return codes for digital-read-p authored by Vince Mulhollon's avatar Vince Mulhollon
...@@ -7,7 +7,7 @@ digital-direction.lisp - Set direction and pullup/down mode of a pin. Example: ...@@ -7,7 +7,7 @@ digital-direction.lisp - Set direction and pullup/down mode of a pin. Example:
(seesaw:digital-direction 'PA10 'InputPullUp) (seesaw:digital-direction 'PA10 'InputPullUp)
</pre> </pre>
digital-read-p.lisp - Reads a bit from GPIO. Note, you should set the pin direction to input, before reading. Example: digital-read-p.lisp - Reads a bit from GPIO returning a T or NIL. Note, you should set the pin direction to input, before reading. Example:
<pre> <pre>
(seesaw:digital-read-p 'PA10) (seesaw:digital-read-p 'PA10)
</pre> </pre>
... ...
......