-
Notifications
You must be signed in to change notification settings - Fork 0
/
cl-pigpio-package.lisp
55 lines (47 loc) · 1.11 KB
/
cl-pigpio-package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
(defpackage cl-pigpio
(:use #:cl #:pigpio-ffi-universal #:pigpio-codes)
(:import-from
#:pigpio-ffi-universal
#:open-pidev/hardware
#:open-pidev/daemon)
(:export
#:*default-pidev*
#:pidev/hardware #:pidev/daemon
#:open-pidev/hardware
#:open-pidev/daemon
;;
;; cl-pigpio-gpio.lisp
#:set-gpio-mode
#:get-gpio-mode
#:set-gpio-pullupdown
#:set-gpio-pullupdown
#:gpio-read
#:gpio-write
;; cl-pigpio-spi.lisp
#:spi-open
#:spi-close
#:spi-read-into-array
#:spi-read-into-integer
#:spi-write-from-array
#:spi-write-from-integer
#:spi-xfer
#:spi-xfer-with-integers
;; cl-pigpio-i2c.lisp
#:i2c-open
#:i2c-close
#:i2c-write-bit
#:i2c-write-byte
#:i2c-read-byte
#:i2c-write-byte-to-register
#:i2c-read-byte-from-register
#:i2c-write-word-to-register
#:i2c-read-word-from-register
#:i2c-read-and-write-word-for-register
#:i2c-write-bytes-to-register
#:i2c-read-bytes-from-register
#:i2c-write-and-read-bytes-for-register
#:i2c-write-bytes
#:i2c-read-bytes
#:i2c-switch-combined
#:i2c-zip
))