From 6b948aa9b2b48251940db5ebfc33877a887d7fb7 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sat, 26 Mar 2016 01:25:47 +0300 Subject: Rename keyboard -> USB --- keyboard/README.md | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 keyboard/README.md (limited to 'keyboard/README.md') diff --git a/keyboard/README.md b/keyboard/README.md deleted file mode 100644 index cee2f6a..0000000 --- a/keyboard/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Keyboard - -Neat and simple example of how the digispark can become a USB device and react to interrupts. Heavily based on http://codeandlife.com/2012/01/29/avr-attiny-usb-tutorial-part-3/ - -## Usage - -Build the program and flash it as usual to the digispark. - -```bash -$ make clean && make -$ micronucleus keyboard.hex -``` - -After the program loads, you should see a new USB device: - -```bash -$ lsusb -Bus 111 Device 222: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb -``` - -You can now flip the LED by calling the test program, requires root privilege or proper udev rules: - -```bash -$ ./usbtest on -$ ./usbtest off -``` -- cgit v1.3.1