corectl

CHICKEN egg for controlling LEDs on the project 0001 keyboard

git clone https://git.8pit.net/corectl.git

 1(module corectl ()
 2  (import scheme (chicken base) (chicken condition)
 3          (chicken module) (chicken foreign)
 4          (srfi 1) (srfi 4))
 5
 6  (export num-leds make-led-ctl close-led-ctl
 7          call-with-led-ctl led-ctl-write)
 8
 9  (include "lib/util.scm")
10  (include "lib/ffi.scm")
11  (include "lib/libusb.scm")
12  (include "lib/packet.scm")
13  (include "lib/corectl.scm"))