diff options
author | Bdale Garbee <bdale@gag.com> | 2014-05-08 16:24:26 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2014-05-08 16:24:26 -0600 |
commit | c49e13a7807a74bb66c83cd4a2e10eb601f59e62 (patch) | |
tree | 0e04e2a6455cd7e383f4512cc2e95e1faf5f5014 /src/usbrelay-v0.1/ao_pins.h | |
parent | acaad70e3db8f0b6ae45ca8309833db57bdf5ca2 (diff) |
relay control implemented, this project is now complete
Diffstat (limited to 'src/usbrelay-v0.1/ao_pins.h')
-rw-r--r-- | src/usbrelay-v0.1/ao_pins.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usbrelay-v0.1/ao_pins.h b/src/usbrelay-v0.1/ao_pins.h index ed60486d..e760c21b 100644 --- a/src/usbrelay-v0.1/ao_pins.h +++ b/src/usbrelay-v0.1/ao_pins.h @@ -66,6 +66,12 @@ #define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN) +/* RELAY */ + +#define RELAY_PORT 0 +#define RELAY_PIN 3 +#define RELAY_BIT (1 << RELAY_PIN) + /* Kludge the SPI driver to not configure any * pin for SCK or MOSI */ |