diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-06-02 14:19:52 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-06-02 14:19:52 (GMT) |
commit | f6619f221a79604c5b7cbf37731a02453d185681 (patch) | |
tree | 9a099f9ad7b2b6db175cf18e58d2ea3c5de20c3c /software/rhmixxx/gpio.h | |
parent | 78068e9588cdbd7d99c4334685d5b6664444d8bd (diff) |
code cleanups
Diffstat (limited to 'software/rhmixxx/gpio.h')
-rw-r--r-- | software/rhmixxx/gpio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/software/rhmixxx/gpio.h b/software/rhmixxx/gpio.h index 3c27d78..710c4e0 100644 --- a/software/rhmixxx/gpio.h +++ b/software/rhmixxx/gpio.h @@ -22,6 +22,11 @@ #ifndef RHMIXXX_gpio_h_INCLUDED #define RHMIXXX_gpio_h_INCLUDED +#define GPIO_NUM_INPUTS 4 +#define GPIO_NUM_OUTPUTS 4 +#define GPIO_MIDI_NOTE_OFFSET 32 +#define GPIO_MIDI_NOTE_ALL_OUTPUTS GPIO_MIDI_NOTE_OFFSET + 31 + void gpio_init(void); void gpio_out_on(uint8_t num); |