summaryrefslogtreecommitdiff
path: root/README.md
blob: 294dbcbdcddaa3ca3d9564104baf543839e90e09 (plain)
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
# Digispark Projects

Various code for the [Digispark](http://digistump.com/wiki/digispark)

 - [Blink](blink) - a simple blinking LED example
 - [Keyboard](keyboard) - a basic USB device that flips the LED based on USB interrupts

## Prerequisites

 - avr-gcc
 - avr-libc
 - [micronucleus](https://github.com/micronucleus/micronucleus)

### Udev Rules

```bash
$ sudo cp 49-digispark.rules /etc/udev/rules.d/
$ sudo udevadm control --reload-rules
```

## Usage

```bash
$ cd blink
$ make clean && make
$ micronucleus hello.hex
```

## License

[GPLv3](LICENSE)